# Rails newbie to 2.0: problem with "ruby script/generate scaffold"

**URL:** <https://www.ruby-forum.com/t/rails-newbie-to-2-0-problem-with-ruby-script-generate-scaffold/183709>\
**Category:** Rails\
**Created:** [February 18, 2010, 10:34pm UTC](https://www.ruby-forum.com/t/rails-newbie-to-2-0-problem-with-ruby-script-generate-scaffold/183709 "2010-02-18T22:34:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichardOnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Post date:** [February 18, 2010, 10:34pm UTC](https://www.ruby-forum.com/t/rails-newbie-to-2-0-problem-with-ruby-script-generate-scaffold/183709/1 "2010-02-18T22:34:19Z")

</div>

Running:  
gem 1.3.5  
Rails 2.3.5  
MySQL 5.0.27-community-nt

Created databases:  
rts\_development;  
rts\_test;

Showed databases:  
information\_schema  
mysql  
rts\_development  
rts\_test

Setup privileges on databases:  
grant all on rts\_development.\* to root’@‘localhost’ identified by  
‘xxxxxx’;  
grant all on rts\_test.\* to ‘root’@‘localhost’ identified by ‘xxxxxx’;

Tried:  
ruby script/generate scaffold vendors nick\_name:string qb\_name:string

Got:  
[snip]config/initializers/new\_rails\_defaults.rb:14:  
undefined method `generate\_best\_match=’ for  
ActionController::Routing:Module (NoMethodError)
