I just upgraded (gem update) to 0.10.1, and now my projects I created just a few days ago under 0.10.0 don''t work anymore. I get the following message (for the database table "projects): $ script/generate scaffold Project script/generate:27: undefined method `instance'' for Rails::Generator:Module (NoMethodError) If I create a new rails project and run the same command, everything is fine (same database.yml file; double-checked with diff). I''m fairly new at rails, so is there something I need to do to upgrade my older project to 0.10.1?
Sean Bowman wrote:> > I just upgraded (gem update) to 0.10.1, and now my projects I created > just a few days ago under 0.10.0 don''t work anymore. I get the > following message (for the database table "projects): > > $ script/generate scaffold Project > script/generate:27: undefined method `instance'' for > Rails::Generator:Module (NoMethodError) > > If I create a new rails project and run the same command, everything is > fine (same database.yml file; double-checked with diff). > > I''m fairly new at rails, so is there something I need to do to upgrade > my older project to 0.10.1?Try this: http://manuals.rubyonrails.com/read/book/15 Curt