Pragmatic Forums | Posts in topic 'Generate scripts do not seem to work with rails'/forums/148/topics/4854.rss
en-us60Generate scripts do not seem to work with rails posted by Sam Ruby @ Tue, 27 Jul 2010 11:00:37 +0000<p>This edition is specific to Rails 3.0. If you intend to follow along with this book, I strongly recommend that you don&#8217;t skip chapter 1.</p>
<p>Yes, the commands used will be a major difference. One of many, I&#8217;m afraid.</p>
<p>As an indication of the scope of the differences, I&#8217;ve been maintaining <a href="http://www.pragprog.com/wikis/wiki/ChangesInRails30">a list of the changes required to get the instructions in edition 3 to work with Rails 3.0</a>. But in many ways, that&#8217;s just the beginning. Yesterday, I posted an <a href="http://intertwingly.net/blog/2010/07/26/Rails-3-0-Release-Candidate">overview of the changes between Rails 2.3 and Rails 3.0</a>.</p>Tue, 27 Jul 2010 11:00:37 +0000forums.pragprog.com:148:4854:17106Sam Rubyhttps://forums.pragprog.com/forums/148/topics/4854
Generate scripts do not seem to work with rails posted by Robert Batzinger @ Tue, 27 Jul 2010 09:31:31 +0000<p>In the first examples of building migrations rails generate &#8230; was used. I am running Ruby 1.9.2 and Rails 2.3 and under these condition this only succeeds in creating a new rails application by the name of generate. When I use the older ruby script/generate &#8230; the commands work. Will this be a major difference for rails 3? You probably should have some comment about this in the book.</p>Tue, 27 Jul 2010 09:31:31 +0000forums.pragprog.com:148:4854:17105Robert Batzingerhttps://forums.pragprog.com/forums/148/topics/4854