Script/generate scaffold errors

Hi,
I’m following the Agile Development With Rails book and having some
trouble. Specifically, I’ve typed:

% ruby script/generate scaffold Product Admin

and received the following error:

/usr/local//lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/hash/keys.rb:27:in
symbolize_keys': undefined methodto_sym’ for
#YAML::Syck::MergeKey:0x23b2e48 (NoMethodError)

I’ve got rail 1.1.2 and have done

% sudo gem update rails --include-dependencies

and been told that all is up to date. I’m on OSX 10.4.6 and I’m aware
this can be temperamental, but I’d appreciate any suggestions as to what
might be the problem (given that gems is telling my my installation is
correct).

thanks,
donncha

OK, ignore this. I’ve figured it out. DB issues.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs