My config/database.yml is set to point to my local mysql db.
Ruby version 1.8.6 (i686-darwin8.11.1)
RubyGems version 1.3.0
Rails version 2.1.1
Active Record version 2.1.1
Action Pack version 2.1.1
Active Resource version 2.1.1
Action Mailer version 2.1.1
Active Support version 2.1.1
Application root /Users/andrew/dev/ruby/myapps/jazzhouston
Environment development
Database adapter mysql
Database schema version 0
That means that when it got to line 3 in your controller it hit a
constant it couldn't fine (Content by the looks of it). Not sure why,
given the information you've given. The full error trace might have
more info, it could also indicate that something bad happened while
loading content.db. If that is the case then running script/console
and evaluating just
Content
should give a more helpful error.
MacBook-Pro:~/dev/ruby/myapps/jazzhouston$ script/console
Loading development environment (Rails 2.1.1)
Content
NameError: uninitialized constant Content
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:279:in
`load_missing_constant'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:468:in
`const_missing'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:480:in
`const_missing'
from (irb):1