<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Setting up a new Rails project in Subversion</title>
	<atom:link href="http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/</link>
	<description>So I don't have to figure things out more than once.</description>
	<pubDate>Tue, 30 Sep 2008 23:40:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Trey</title>
		<link>http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/#comment-4147</link>
		<dc:creator>Trey</dc:creator>
		<pubDate>Fri, 29 Jun 2007 04:46:17 +0000</pubDate>
		<guid isPermaLink="false">http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/#comment-4147</guid>
		<description>&lt;p&gt;For the record, I've deleted my repository and started over using Rails 1.2.3 as you recommended.  Luckily, I hadn't really started any work on it yet.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>For the record, I&#8217;ve deleted my repository and started over using Rails 1.2.3 as you recommended.  Luckily, I hadn&#8217;t really started any work on it yet.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Trey</title>
		<link>http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/#comment-4110</link>
		<dc:creator>Trey</dc:creator>
		<pubDate>Wed, 27 Jun 2007 04:57:04 +0000</pubDate>
		<guid isPermaLink="false">http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/#comment-4110</guid>
		<description>&lt;p&gt;I think I will choose option 2 for now.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think I will choose option 2 for now.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: JTJ</title>
		<link>http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/#comment-4109</link>
		<dc:creator>JTJ</dc:creator>
		<pubDate>Wed, 27 Jun 2007 04:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/#comment-4109</guid>
		<description>&lt;p&gt;I haven't used edge in a while. Didn't know they were doing .erb instead of .rhtml. I guess you have two options:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Change your .erbs to .rhtmls&lt;/li&gt;
&lt;li&gt;Use option 2 from my previous comment and lock your project to the current trunk (r7136 at the time of this comment).&lt;/li&gt;
&lt;/ol&gt;
</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t used edge in a while. Didn&#8217;t know they were doing .erb instead of .rhtml. I guess you have two options:</p>

<ol>
<li>Change your .erbs to .rhtmls</li>
<li>Use option 2 from my previous comment and lock your project to the current trunk (r7136 at the time of this comment).</li>
</ol>]]></content:encoded>
	</item>
	<item>
		<title>By: Trey</title>
		<link>http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/#comment-4107</link>
		<dc:creator>Trey</dc:creator>
		<pubDate>Wed, 27 Jun 2007 04:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/#comment-4107</guid>
		<description>&lt;p&gt;Ah.  That makes lots of sense.  But what would you do if you already ran a bunch of &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;script/generate scaffold
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;(formerly scaffold_resource) and it created &lt;strong&gt;.erb&lt;/strong&gt; instead of &lt;strong&gt;.rhtml&lt;/strong&gt; files?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ah.  That makes lots of sense.  But what would you do if you already ran a bunch of </p>

<pre><code>script/generate scaffold
</code></pre>

<p>(formerly scaffold_resource) and it created <strong>.erb</strong> instead of <strong>.rhtml</strong> files?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: JTJ</title>
		<link>http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/#comment-4105</link>
		<dc:creator>JTJ</dc:creator>
		<pubDate>Wed, 27 Jun 2007 04:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://solutions.treypiepmeier.com/2007/06/25/setting-up-a-new-rails-project-in-subversion/#comment-4105</guid>
		<description>&lt;p&gt;If your svn:externals file says this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;rails   http://dev.rubyonrails.org/svn/rails/trunk/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then, you're using edge rails, which will change often. Every time the Rails trunk gets a new changeset, your "svn update" command is going to download it, and you have no control over it.&lt;/p&gt;

&lt;p&gt;If your want to work with today's edge Rails (but not necessarily tomorrow's edge Rails), the best thing to do is lock your project to a specific revision of the trunk, you can specify it like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;rails   -r7136  http://dev.rubyonrails.org/svn/rails/trunk/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then, you can change the revision number whenever you feel that it is safe to do so. &lt;/p&gt;

&lt;p&gt;I personally prefer to use the official releases for production apps The official stable releases are found in the tags directory like:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;rails   http://dev.rubyonrails.org/svn/rails/tags/rel_1-2-3/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Finally, there is one more option. That is to lock your project to a specific &lt;strong&gt;&lt;em&gt;major&lt;/em&gt;&lt;/strong&gt; release, but get updates whenever there is a &lt;strong&gt;&lt;em&gt;minor&lt;/em&gt;&lt;/strong&gt; release. There are pros and cons to this method. On the plus side, you always have the latest bug fixes for your chosen release; on the down side, you don't ever know when an "svn update" is going to pull a new release of Rails into your project. I think it's best to use the previous method, and just edit your svn:externals whenever there is a minor release. They keep the latest stable release in a branch. Reference it like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;rails   http://dev.rubyonrails.org/svn/rails/branches/1-2-stable/
&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>If your svn:externals file says this:</p>

<pre><code>rails   <a href="http://dev.rubyonrails.org/svn/rails/trunk/" >http://dev.rubyonrails.org/svn/rails/trunk/</a>
</code></pre>

<p>Then, you&#8217;re using edge rails, which will change often. Every time the Rails trunk gets a new changeset, your &#8220;svn update&#8221; command is going to download it, and you have no control over it.</p>

<p>If your want to work with today&#8217;s edge Rails (but not necessarily tomorrow&#8217;s edge Rails), the best thing to do is lock your project to a specific revision of the trunk, you can specify it like this:</p>

<pre><code>rails   -r7136  <a href="http://dev.rubyonrails.org/svn/rails/trunk/" >http://dev.rubyonrails.org/svn/rails/trunk/</a>
</code></pre>

<p>Then, you can change the revision number whenever you feel that it is safe to do so. </p>

<p>I personally prefer to use the official releases for production apps The official stable releases are found in the tags directory like:</p>

<pre><code>rails   <a href="http://dev.rubyonrails.org/svn/rails/tags/rel_1-2-3/" >http://dev.rubyonrails.org/svn/rails/tags/rel_1-2-3/</a>
</code></pre>

<p>Finally, there is one more option. That is to lock your project to a specific <strong><em>major</em></strong> release, but get updates whenever there is a <strong><em>minor</em></strong> release. There are pros and cons to this method. On the plus side, you always have the latest bug fixes for your chosen release; on the down side, you don&#8217;t ever know when an &#8220;svn update&#8221; is going to pull a new release of Rails into your project. I think it&#8217;s best to use the previous method, and just edit your svn:externals whenever there is a minor release. They keep the latest stable release in a branch. Reference it like this:</p>

<pre><code>rails   <a href="http://dev.rubyonrails.org/svn/rails/branches/1-2-stable/" >http://dev.rubyonrails.org/svn/rails/branches/1-2-stable/</a>
</code></pre>]]></content:encoded>
	</item>
</channel>
</rss>
