<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>opensoul.org - Renaming .rhtml to .erb using Ruby Comments</title>
  <id>tag:opensoul.org,2008:/2007/3/4/renaming-rhtml-to-erb-using-ruby/comments</id>
  <generator uri="http://mephistoblog.com" version="0.7.3">Mephisto Noh-Varr</generator>
  <link href="http://opensoul.org/2007/3/4/renaming-rhtml-to-erb-using-ruby/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2007/3/4/renaming-rhtml-to-erb-using-ruby" rel="alternate" type="text/html"/>
  <updated>2007-04-11T20:17:39Z</updated>
  <entry xml:base="http://opensoul.org/">
    <author>
      <name>Christoph</name>
    </author>
    <id>tag:opensoul.org,2007-03-04:2127:2627</id>
    <published>2007-04-11T20:17:39Z</published>
    <updated>2007-04-11T20:17:39Z</updated>
    <category term="work"/>
    <link href="http://opensoul.org/2007/3/4/renaming-rhtml-to-erb-using-ruby" rel="alternate" type="text/html"/>
    <title>Comment on 'Renaming .rhtml to .erb using Ruby' by Christoph</title>
<content type="html">&lt;p&gt;seems as if show.html.erb already works, but what about partials like _foo.html.erb?
still needs :partial =&amp;gt; &#8216;foo.html&#8217;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://opensoul.org/">
    <author>
      <name>josh</name>
    </author>
    <id>tag:opensoul.org,2007-03-04:2127:2213</id>
    <published>2007-03-06T07:08:42Z</published>
    <updated>2007-03-06T07:08:42Z</updated>
    <category term="work"/>
    <link href="http://opensoul.org/2007/3/4/renaming-rhtml-to-erb-using-ruby" rel="alternate" type="text/html"/>
    <title>Comment on 'Renaming .rhtml to .erb using Ruby' by josh</title>
<content type="html">&lt;p&gt;Brandon, the show.html.erb style of naming will be supported in core.  I had assumed that&#8217;s how it was already, but I jumped the gun.  However that will be how it works shortly.  show.erb will work, and so will show.html.erb.  Putting html in the filename will automagically set the mime type on the response, and it also lets TextMate (or whatever) format syntax.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://opensoul.org/">
    <author>
      <name>Brandon</name>
    </author>
    <id>tag:opensoul.org,2007-03-04:2127:2212</id>
    <published>2007-03-06T04:06:10Z</published>
    <updated>2007-03-06T04:06:10Z</updated>
    <category term="work"/>
    <link href="http://opensoul.org/2007/3/4/renaming-rhtml-to-erb-using-ruby" rel="alternate" type="text/html"/>
    <title>Comment on 'Renaming .rhtml to .erb using Ruby' by Brandon</title>
<content type="html">&lt;p&gt;I didn&#8217;t like the idea of .html.erb at first, but it&#8217;s  growing on me. But, if I&#8217;m not mistaken, without a patch to core, controllers would look really ugly because you have to explicitly state the views to render (&lt;code&gt;:action =&amp;gt; 'show.html'&lt;/code&gt;.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://opensoul.org/">
    <author>
      <name>Chris</name>
    </author>
    <id>tag:opensoul.org,2007-03-04:2127:2211</id>
    <published>2007-03-06T02:26:21Z</published>
    <updated>2007-03-06T02:26:21Z</updated>
    <category term="work"/>
    <link href="http://opensoul.org/2007/3/4/renaming-rhtml-to-erb-using-ruby" rel="alternate" type="text/html"/>
    <title>Comment on 'Renaming .rhtml to .erb using Ruby' by Chris</title>
<content type="html">&lt;p&gt;I agree &#8230; I understand the move to a more general file extension but I&#8217;d prefer to have it be as self-explanatory as possible.  I throw in my vote for something like .html.erb and .mail.erb.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://opensoul.org/">
    <author>
      <name>Jamie Hill</name>
    </author>
    <id>tag:opensoul.org,2007-03-04:2127:2210</id>
    <published>2007-03-06T00:37:48Z</published>
    <updated>2007-03-06T00:37:48Z</updated>
    <category term="work"/>
    <link href="http://opensoul.org/2007/3/4/renaming-rhtml-to-erb-using-ruby" rel="alternate" type="text/html"/>
    <title>Comment on 'Renaming .rhtml to .erb using Ruby' by Jamie Hill</title>
<content type="html">&lt;p&gt;josh: I&#8217;d not thought of using .html.erb, I suppose it help with distinguishing their content e.g. .mail.erb for mail templates.&lt;/p&gt;


	&lt;p&gt;Maybe there should be some kind of convention for these?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://opensoul.org/">
    <author>
      <name>josh</name>
    </author>
    <id>tag:opensoul.org,2007-03-04:2127:2168</id>
    <published>2007-03-05T04:46:44Z</published>
    <updated>2007-03-05T04:46:44Z</updated>
    <category term="work"/>
    <link href="http://opensoul.org/2007/3/4/renaming-rhtml-to-erb-using-ruby" rel="alternate" type="text/html"/>
    <title>Comment on 'Renaming .rhtml to .erb using Ruby' by josh</title>
<content type="html">&lt;p&gt;I think that should map .rhtml to .html.erb, not just .erb on its own.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://opensoul.org/">
    <author>
      <name>Dr Nic</name>
    </author>
    <id>tag:opensoul.org,2007-03-04:2127:2142</id>
    <published>2007-03-04T08:03:21Z</published>
    <updated>2007-03-04T08:03:21Z</updated>
    <category term="work"/>
    <link href="http://opensoul.org/2007/3/4/renaming-rhtml-to-erb-using-ruby" rel="alternate" type="text/html"/>
    <title>Comment on 'Renaming .rhtml to .erb using Ruby' by Dr Nic</title>
<content type="html">&lt;p&gt;To save other monkey men, I&#8217;ve added it to the &lt;a href=&quot;http://snippets.dzone.com/posts/show/3624&quot;&gt;snippets site&lt;/a&gt;&lt;/p&gt;</content>  </entry>
</feed>
