<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in 'Depot with Rails 2.0.2' | Pragmatic Forums</title>
    <link>http://forums.pragprog.com/forums/22/topics/184</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <description></description>
    <item>
      <title>Depot with Rails 2.0.2 posted by Chuck Hoffman @ Thu, 05 Jun 2008 00:12:43 -0000</title>
      <description>&lt;p&gt;I wouldn&amp;#8217;t characterize it as &amp;#8220;rolling back.&amp;#8221;  Rubygems will keep multiple versions of a gem, so you can have a 2.x and 1.x version of Rails installed on the same machine and work with both.  2.x is still very new and lots of folks are still using 1.x versions of Rails.  If you can&amp;#8217;t get hold of the 3rd edition, I recommend pressing ahead with &lt;span class="caps"&gt;AWDWR&lt;/span&gt; using a 1.x version; all you need to do is what was described earlier: specify the version to use when you create a new project by adding the extra argument to &amp;#8220;rails&amp;#8221; at the command line, as the version number surrounded by underscores.  This will also place the version to use in the &lt;span class="caps"&gt;RAILS&lt;/span&gt;_GEM_VERSION line of config/environment.rb.  You&amp;#8217;ll still learn Rails, and then be able to learn what things bits that are different in 2.0 later, especially since you already have it installed.&lt;/p&gt;</description>
      <pubDate>Thu, 05 Jun 2008 00:12:43 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:3061</guid>
      <author>Chuck Hoffman</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by richard trussler @ Wed, 26 Mar 2008 10:15:47 -0000</title>
      <description>&lt;p&gt;@ Steven Richard Price&lt;br /&gt;A little bit messy I&amp;#8217;m sure, but it looks like you need to run your scaffold again in order to see your prices. Run as you did before but add price:decimal to the command &amp;#8211; then overwrite [y] the previous views.&lt;br /&gt;I&amp;#8217;ve not yet gotten my head around how to add options (precision, scale) correctly so you&amp;#8217;ll have to edit your AddPrice migration as per the book.&lt;/p&gt;</description>
      <pubDate>Wed, 26 Mar 2008 10:15:47 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2492</guid>
      <author>richard trussler</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by David Wilbur @ Thu, 20 Mar 2008 01:58:24 -0000</title>
      <description>&lt;p&gt;as Bala said he has walked through converting the app to 2.0.  he breaks it out into 5 episodes and it really worth sitting through.&lt;/p&gt;


	&lt;p&gt;see &lt;a href="http://www.rubyplus.org/"&gt;http://www.rubyplus.org/&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;i think you have to go back through the archives to find it by now&amp;#8230;&lt;/p&gt;


	&lt;p&gt;another place that helps is &lt;a href="http://railscasts.com/"&gt;http://railscasts.com/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 20 Mar 2008 01:58:24 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2469</guid>
      <author>David Wilbur</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Michael Mullen @ Tue, 11 Mar 2008 15:06:16 -0000</title>
      <description>&lt;p&gt;I agree.  While the real blame lies with the ruby devs who keep deprecating features, i wish this book had been called &amp;#8220;Agile web development with rails 1&amp;#8221; so i could have at least saved my money for a newer version.&lt;/p&gt;</description>
      <pubDate>Tue, 11 Mar 2008 15:06:16 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2421</guid>
      <author>Michael Mullen</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Ryan Florence @ Sat, 08 Mar 2008 16:39:10 -0000</title>
      <description>&lt;p&gt;To all who won&amp;#8217;t roll back using &lt;span class="caps"&gt;AWD&lt;/span&gt; with Rails &amp;#8230;&lt;/p&gt;


	&lt;p&gt;I did, and I&amp;#8217;m loving it.  I figure after I get through the book I can go back to the future and learn the changes after I understand what it changed from&amp;#8212;rather than trying to understand the current way and the old way all at once with no foundation whatsoever.&lt;/p&gt;</description>
      <pubDate>Sat, 08 Mar 2008 16:39:10 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2408</guid>
      <author>Ryan Florence</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Simon Krollpfeifer @ Sat, 08 Mar 2008 10:07:01 -0000</title>
      <description>&lt;p&gt;@ Steven Richard Price&lt;br /&gt;It&amp;#8217;s not poor effort to say roll back to 1.2.3. When you write a book about a programing language, you can only refer to the version at that time. You can&amp;#8217;t foretell any changes ahead.&lt;/p&gt;


	&lt;p&gt;So, to help you out, what version of rails are you running?&lt;/p&gt;</description>
      <pubDate>Sat, 08 Mar 2008 10:07:01 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2407</guid>
      <author>Simon Krollpfeifer</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Steven Richard Price @ Thu, 06 Mar 2008 18:09:01 -0000</title>
      <description>&lt;p&gt;I am also stuck at this point.&lt;/p&gt;


	&lt;p&gt;I think its a poor effort to say &amp;#8220;roll back to rails 1.2 or whatever&amp;#8221;&lt;/p&gt;


	&lt;p&gt;thats pretty pants, considering i paid a lot of money for the book only about 2 weeks ago.&lt;/p&gt;


	&lt;p&gt;but thats a different matter.&lt;/p&gt;


	&lt;p&gt;i have managed to get the scaffold to work by using this:&lt;/p&gt;


	&lt;p&gt;depot&amp;gt;ruby script/generate scaffold Product title:string description:text image_url:string&lt;/p&gt;


	&lt;p&gt;but my next problem is getting the price to display on the screen when i refresh the browser I dont see the price added. its in the database and all that.&lt;/p&gt;


	&lt;p&gt;cant anyone help me???&lt;/p&gt;</description>
      <pubDate>Thu, 06 Mar 2008 18:09:01 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2389</guid>
      <author>Steven Richard Price</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Jakub Vosahlo @ Wed, 05 Mar 2008 15:49:09 -0000</title>
      <description>&lt;p&gt;Instead of &lt;strong&gt;rails 1.2.3 depot&lt;/strong&gt; try &lt;strong&gt;rails &lt;span class="caps"&gt;UNDERSCORE1&lt;/span&gt;.2.3UNDERSCORE depot&lt;/strong&gt;. Replace &lt;span class="caps"&gt;UNDERSCORE&lt;/span&gt; with a real underscore character. Had to type it this way as underscore is used for &lt;em&gt;italics&lt;/em&gt; formatting here&amp;#8230;&lt;/p&gt;


	&lt;p&gt;That should do the trick&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Wed, 05 Mar 2008 15:49:09 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2380</guid>
      <author>Jakub Vosahlo</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Ioannis Prekezes @ Thu, 28 Feb 2008 15:11:48 -0000</title>
      <description>&lt;p&gt;This is a comment to Mr Hogan&amp;#8217;s post.&lt;br /&gt;The first step to install &lt;span class="caps"&gt;ROR&lt;/span&gt; version 1.2.3 seems to work ok.&lt;br /&gt;The second step however: &lt;code&gt;rails 1.2.3 depot&lt;/code&gt; does not work as expected. Instead of a depot directory it created a &lt;code&gt;1.2.3&lt;/code&gt; directory.&lt;br /&gt;I am working on OsX 10.5.2.&lt;/p&gt;


	&lt;p&gt;Finally I uninstalled both 2.0.2 and 1.2.6 versions from my system in order to have depot working in the &lt;span class="caps"&gt;AWDWR&lt;/span&gt; way.&lt;/p&gt;</description>
      <pubDate>Thu, 28 Feb 2008 15:11:48 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2346</guid>
      <author>Ioannis Prekezes</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Brian Hogan @ Tue, 26 Feb 2008 15:35:06 -0000</title>
      <description>&lt;p&gt;The approach I tell students is to do this before starting the depot app&lt;/p&gt;


	&lt;p&gt;gem install rails&amp;#8212;version=1.2.3&amp;#8212;include-dependencies&lt;/p&gt;


	&lt;p&gt;rails &lt;em&gt;1.2.3&lt;/em&gt; depot&lt;br /&gt;cd depot&lt;/p&gt;


	&lt;p&gt;then you&amp;#8217;re good to go.&lt;/p&gt;


	&lt;p&gt;IF you have multiple versions of a gem installed, you can specify the version you want to use. This works great for rails, capistrano, and other tools. Just use &lt;em&gt;x.y.z&lt;/em&gt; as a parameter and it&amp;#8217;ll get picked up.&lt;/p&gt;


	&lt;p&gt;Despite what you may have heard, very little has changed with regard to the Rails framework. A lot of things have been added and there are some arguably better ways of building your application&amp;#8230; some things have been moved to plugins as well which causes problems for those following older texts. However, you&amp;#8217;d need to change very little about your code to move from 1.2.3 to 2.0.2. Updating your app to Rails 1.2.6 is easy, and then it will start logging all the things you need to fix to be 2.0 compatible.&lt;/p&gt;


	&lt;p&gt;By the time someone writes a book for Rails 2.0, Rails 2.1 will be out and it will be out of date.&lt;/p&gt;


	&lt;p&gt;Once you have a good solid understanding of the basics of Rails, which this book provides quite nicely, you can easily get up to speed with the current version.&lt;/p&gt;</description>
      <pubDate>Tue, 26 Feb 2008 15:35:06 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2332</guid>
      <author>Brian Hogan</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Frederick C. Lee @ Thu, 14 Feb 2008 22:08:41 -0000</title>
      <description>&lt;p&gt;Env: Mac &lt;span class="caps"&gt;OS X&lt;/span&gt; (Leopard)&lt;br /&gt;I&amp;#8217;m trying to run the sample codes in rails 2.0.2.  Naturally I hit a brick wall and had downgraded to rails 1.2.6; revised the environment.rb accordingly; and replaced &amp;#8216;require_gem&amp;#8217; to &amp;#8216;require&amp;#8217;.&lt;br /&gt;&lt;pre&gt;
rails -v
Rails 1.2.6

gem -v
1.0.1

ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1]

&lt;/pre&gt;&lt;/p&gt;


	&lt;p&gt;But now I&amp;#8217;ve encountered: &lt;br /&gt;&lt;pre&gt;
[/Users/Ric/workarea/ruby/depot]script/server
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- rails (LoadError)
    from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
    from ./script/../config/boot.rb:46
    from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
    from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
    from script/server:2
&lt;/pre&gt;&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve traced this error to an exception raised for an unknown path in custom_require.rb:&lt;br /&gt;&lt;pre&gt;
  def require(path) # :nodoc:
    gem_original_require path
  rescue LoadError =&amp;gt; load_error
    if load_error.message =~ /\A[Nn]o such file to load -- #{Regexp.escape path}\z/ and
       spec = Gem.searcher.find(path) then
      Gem.activate(spec.name, false, "= #{spec.version}")
      gem_original_require path
    else
      raise load_error
    end
  end
&lt;/pre&gt;&lt;/p&gt;


	&lt;p&gt;Rather than slamming brick walls, are/will there me more-recent (c2008) &lt;span class="caps"&gt;AWDWR&lt;/span&gt; codes that I can study?&lt;/p&gt;


	&lt;p&gt;Regards,&lt;br /&gt;Ric.&lt;/p&gt;</description>
      <pubDate>Thu, 14 Feb 2008 22:08:41 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2294</guid>
      <author>Frederick C. Lee</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Alan Eveson @ Wed, 13 Feb 2008 20:28:19 -0000</title>
      <description>&lt;p&gt;Hi All&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m not going to bore you all with every fix as I wade through this, only to say check out the following &lt;span class="caps"&gt;URL&lt;/span&gt; whenever you hit a snag. I couldn&amp;#8217;t get the validation to work (on page 74) so I checked the validation information here, and found &amp;#8220;greater_than&amp;#8221; as a part of the numericality test&amp;#8230;&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://wiki.rubyonrails.com/rails/recent"&gt;http://wiki.rubyonrails.com/rails/recent&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 13 Feb 2008 20:28:19 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2288</guid>
      <author>Alan Eveson</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Alan Eveson @ Wed, 13 Feb 2008 14:29:36 -0000</title>
      <description>&lt;p&gt;I had all sorts of fun until I found this thread. I&amp;#8217;ve wiped my install, installed the latest Ruby, Gem, Rails, MySQL and Aptana/RadRails, then got Aptana/RadRails working with MySQL. This was all actually fairly hard to do! The products are well documented individually, but getting them all working together is less easy. Still, it&amp;#8217;s all &lt;span class="caps"&gt;FREE&lt;/span&gt; so no complaints, just gentle observations. :)&lt;/p&gt;


	&lt;p&gt;I finally got through the first chapters, the fact that Rails now defaults to SQLite3 slowed me down, not creating my DB slowed me down&amp;#8230;&lt;/p&gt;


	&lt;p&gt;I never did get SQLite3 working, but no matter.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve decided to fight my way through &lt;span class="caps"&gt;AWDWR&lt;/span&gt; with Rails 2.0.2. I learn better in adversity :)&lt;/p&gt;


	&lt;p&gt;This stuff is &lt;strong&gt;so good&lt;/strong&gt;. I wrote my first program on punch cards in Cobol/Assembler code. Ruby is the first &lt;span class="caps"&gt;TRULY OO&lt;/span&gt; language I&amp;#8217;ve encountered. Visual Basic was to OO what a hammer is to a screw.&lt;/p&gt;


	&lt;p&gt;I only started because my son said he wanted to learn programming, so without thinking I passed him a VB tutorial. A week later I suddenly came to my senses, went into his room, took it out of his hands and put it where it belonged, in the wood burner.&lt;/p&gt;


	&lt;p&gt;He&amp;#8217;s reading Programming Ruby. I&amp;#8217;m going through &lt;span class="caps"&gt;AWDWR&lt;/span&gt;. I&amp;#8217;m just going to have to try to stay ahead of him.&lt;/p&gt;


	&lt;p&gt;If he gives me any grief I&amp;#8217;ll make him learn Cobol. ;)&lt;/p&gt;


	&lt;p&gt;Alan&lt;/p&gt;</description>
      <pubDate>Wed, 13 Feb 2008 14:29:36 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2285</guid>
      <author>Alan Eveson</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Abrahm Coffman @ Tue, 12 Feb 2008 18:59:23 -0000</title>
      <description>&lt;p&gt;I am going to try and work through the book with rails 2.0.2 as well.  Anybody know how to delete/remove an application?  I&amp;#8217;d like to start from scratch following fairleads blog.&lt;/p&gt;</description>
      <pubDate>Tue, 12 Feb 2008 18:59:23 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2281</guid>
      <author>Abrahm Coffman</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Ivan Such&#253; @ Thu, 07 Feb 2008 17:32:38 -0000</title>
      <description>&lt;p&gt;[Simon Krollpfeifer]&lt;/p&gt;


&lt;pre&gt;
&amp;lt;% for product in @products -%&amp;gt;
    &amp;lt;div class="entry"&amp;gt;
        &amp;lt;%= image_tag(product.image_url) %&amp;gt;
        &amp;lt;h3&amp;gt;&amp;lt;%= h(product.title) %&amp;gt;&amp;lt;/h3&amp;gt;
        &amp;lt;div class="desc"&amp;gt;&amp;lt;%= product.description %&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;span class="price"&amp;gt;&amp;lt;%= product.price %&amp;gt;&amp;lt;/span&amp;gt;
    &amp;lt;/div&amp;gt;
&amp;lt;% end %&amp;gt;
&lt;/pre&gt;</description>
      <pubDate>Thu, 07 Feb 2008 17:32:38 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2267</guid>
      <author>Ivan Such&#253;</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Daniel Jos&#233; Burd @ Fri, 25 Jan 2008 10:27:14 -0000</title>
      <description>&lt;p&gt;Ajax is working but the page.replace_html is not!&lt;br /&gt;I&amp;#8217;am in task D &amp;#8211; Add a Dash of Ajax&lt;br /&gt;it seems that add_to_cart.rjs is not being called.&lt;br /&gt;Any help?&lt;/p&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:27:14 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2224</guid>
      <author>Daniel Jos&#233; Burd</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Simon Krollpfeifer @ Fri, 18 Jan 2008 09:07:17 -0000</title>
      <description>&lt;p&gt;I would strongly recommend to downgrade the rails version to 1.2.6.&lt;/p&gt;


	&lt;p&gt;To check the current version(as mentioned above) use &lt;br /&gt;$ rails -v&lt;br /&gt;to downgrade/deinstall rails 2.0.2 use&lt;br /&gt;$ sudo gem uninstall&amp;#8212;version=2.0.2 rails&lt;/p&gt;


	&lt;p&gt;check with rails -v if your current verion is 1.2.6 and not 2.0.2&lt;/p&gt;


	&lt;p&gt;Nevertheless, I have a small problem with the display of the price. Following the book, my /views/store/index.html looks like:&lt;br /&gt;&lt;pre&gt;
&lt;code&gt;
&amp;lt;% for product in @products -%&amp;gt;
    &amp;lt;div class="entry"&amp;gt;
        &amp;lt;%= image_tag(product.image_url) %&amp;gt;
        &amp;lt;h3&amp;gt;&amp;lt;%= h(product.title) %&amp;gt;&amp;lt;/h3&amp;gt;
        &amp;lt;%= product.description %&amp;gt;
        &amp;lt;span class="price"&amp;gt;&amp;lt;%= product.price %&amp;gt;&amp;lt;/span&amp;gt;
    &amp;lt;/div&amp;gt;
&amp;lt;% end %&amp;gt;
&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/p&gt;


	&lt;p&gt;The Problem here is, that the price is in the same line as the description. Okay, besides fixing that with an ugly &lt;/br&gt;, is there any other way?&lt;/p&gt;</description>
      <pubDate>Fri, 18 Jan 2008 09:07:17 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2185</guid>
      <author>Simon Krollpfeifer</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Bala Paranj @ Tue, 15 Jan 2008 08:19:23 -0000</title>
      <description>&lt;p&gt;I have upgraded the Depot app to Rails 2.0 version. You can watch the screencast for free at &lt;a href="http://www.rubyplus.org/episodes/19-AWDR-Depot-App-using-Rails-2-version.html"&gt;http://www.rubyplus.org/episodes/19-AWDR-Depot-App-using-Rails-2-version.html&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;The modified code is not distributed by me. Bug Dave, he might distribute my code for&lt;br /&gt;educational purpose.&lt;/p&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:19:23 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2172</guid>
      <author>Bala Paranj</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by David Abdemoulaie @ Mon, 07 Jan 2008 05:27:22 -0000</title>
      <description>&lt;p&gt;Ron, the most current version of Rails will remain in your path &amp;#8211; thus rails -v should show 2.02.&lt;/p&gt;


	&lt;p&gt;The rails version used by your application is controlled by config/environment.rb in the following line:&lt;/p&gt;


	&lt;p&gt;&lt;span class="caps"&gt;RAILS&lt;/span&gt;_GEM_VERSION = &amp;#8216;1.2.5&amp;#8217; unless defined? &lt;span class="caps"&gt;RAILS&lt;/span&gt;_GEM_VERSION&lt;/p&gt;


	&lt;p&gt;You can also set the &lt;span class="caps"&gt;RAILS&lt;/span&gt;_GEM_VERSION environment variable as well, I suppose.&lt;/p&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:27:22 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2136</guid>
      <author>David Abdemoulaie</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by ron campbell @ Sat, 05 Jan 2008 21:28:12 -0000</title>
      <description>&lt;p&gt;Okay Steve, I&amp;#8217;ll bite, the only problem with rolling back to an earlier version is that the procedure, at least as outlined in the previously referred blog, doesn&amp;#8217;t seem to work for me. I run it, it says that rails 1.2.3 is installed successfully, but when I check it via rails &lt;del&gt;v  -&lt;/del&gt;- it comes back as Rails 2.0.2 I have tried this from the main directory and within an application directory&lt;/p&gt;


here is the command I&amp;#8217;ve used
	&lt;ol&gt;
	&lt;li&gt;gem install&amp;#8212;version=1.2.5 rails&amp;#8212;include-dependencies&lt;/li&gt;
	&lt;/ol&gt;


also rolling it back to 
	&lt;ol&gt;
	&lt;li&gt;gem install&amp;#8212;version=1.2.3 rails&amp;#8212;include-dependencies&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;Both lines run successfully, but the command rails -v still gets rails 2.0.2&lt;/p&gt;


	&lt;p&gt;Again, is there something I am missing here?&lt;br /&gt;if simply rolling it back will put me thru this book, using what they have written, I am all for it, and once again thank you for your help.&lt;/p&gt;</description>
      <pubDate>Sat, 05 Jan 2008 21:28:12 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2125</guid>
      <author>ron campbell</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Steve Jones @ Sat, 05 Jan 2008 18:30:09 -0000</title>
      <description>&lt;p&gt;Indeed it did snowball. Don&amp;#8217;t know if I wouldn&amp;#8217;t recommend rolling back to Rails 1.2.3 or such.&lt;/p&gt;</description>
      <pubDate>Sat, 05 Jan 2008 18:30:09 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2124</guid>
      <author>Steve Jones</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by ron campbell @ Sat, 05 Jan 2008 14:24:55 -0000</title>
      <description>&lt;p&gt;As far as the scaffolding problem, I went to the tutorial listed and created a products scaffold. I then updated the views manually, adding the price column, editing , and validating but am not sure how to add the admin controller, or if to chuck that whole model and use products. I&amp;#8217;ve tried to scaffold with two arguments and am told that I have too many arguments now, and have created the admin controller, but I don&amp;#8217;t get the extra views and helpers with admin that I need to use these.&lt;/p&gt;


	&lt;p&gt;I am beginning to wonder if it is worth patching this up, knowing that these problems just snowball later on.&lt;/p&gt;</description>
      <pubDate>Sat, 05 Jan 2008 14:24:55 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2119</guid>
      <author>ron campbell</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Brandon Hauff @ Fri, 04 Jan 2008 19:37:32 -0000</title>
      <description>&lt;p&gt;I have been able to create the scaffold in the same way as you describe Steve, however, the problem is that in the Depot application we use an Admin controller to handle all of the actions related to the shopping cart maintenance.  With the new scaffolding the controller handling the actions is the product_controller rather than the admin_controller.  I am not sure you to continue with the Depot tutorial under these circumstances.&lt;/p&gt;


	&lt;p&gt;Thanks,&lt;/p&gt;


	&lt;p&gt;Brandon&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jan 2008 19:37:32 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2110</guid>
      <author>Brandon Hauff</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Steve Jones @ Fri, 04 Jan 2008 18:19:56 -0000</title>
      <description>&lt;p&gt;Be sure to check out this thread &lt;a href="http://forums.pragprog.com/forums/22/topics/172"&gt;http://forums.pragprog.com/forums/22/topics/172&lt;/a&gt; and the fairleads blog posting &lt;a href="http://fairleads.blogspot.com/2007/12/rails-20-and-scaffolding-step-by-step.html"&gt;http://fairleads.blogspot.com/2007/12/rails-20-and-scaffolding-step-by-step.html&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;I had installed the scaffolding plugin&lt;/p&gt;


	&lt;p&gt;depot&amp;gt;ruby/plugin install &lt;a href="http://svn.rubyonrails.org/rails/plugins/scaffolding/"&gt;http://svn.rubyonrails.org/rails/plugins/scaffolding/&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;instead of dynamic scaffolding I used  &lt;code&gt;depot&amp;gt;ruby script/generate scaffold Product title:string description:text image_url:string&lt;/code&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jan 2008 18:19:56 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2109</guid>
      <author>Steve Jones</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
    <item>
      <title>Depot with Rails 2.0.2 posted by Brandon Hauff @ Fri, 04 Jan 2008 17:42:57 -0000</title>
      <description>&lt;p&gt;I have been able to jump through a few hoops getting The &lt;span class="caps"&gt;AWDWR&lt;/span&gt; and Rails 2.02 to work.  However, I am at A4 Prettier Listings and cannot do the &amp;#8220;ruby script/generate scaffold product admin&amp;#8221;&lt;/p&gt;


	&lt;p&gt;I understand why this is, the generator for scaffold now creates the controller for you and everything, so I executed &amp;#8220;ruby script/generate scaffold product&amp;#8221; which creates new controllers that are not used in the Depot tutorial.  What is the best way to handle the discrepancies between the controllers now.&lt;/p&gt;


	&lt;p&gt;Thanks,&lt;/p&gt;


	&lt;p&gt;Brandon&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jan 2008 17:42:57 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:22:184:2108</guid>
      <author>Brandon Hauff</author>
      <link>http://forums.pragprog.com/forums/22/topics/184</link>
    </item>
  </channel>
</rss>
