I’m trying to generate scaffolding for one of my models but I keep receiving an error. Here are the details:
ruby script/generate scaffold Person Admin
establish_connection': undefined methodsymbolize_keys’ for
from script/generate:2:in `require’
Environment.rb is setup for production:
RAILS_ENV = ENV[‘RAILS_ENV’] || ‘production’
(I’m assuming the webserver is set up for production by default as stated in the wiki.)
Database.yml has connection information for production also with correct db name and host name.