Urgent help needed! "uninitialized constant" error

I need a hint on what could be causing the following error message:

NameError in Project areasController#destroy
uninitialized constant ProjectArea::KeyAspect
D:/Ruby/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in
const_missing’ (eval):1:inconfigure_dependency_for_has_many’
#{RAILS_ROOT}/app/controllers/project_areas_controller.rb:129:in
destroy’ script\server:3 -e:2:inload’
-e:2

Many thanks people

There’s not enough information here. I’d say it probably lies in the
ProjectArea model. My guess would be that you have a has_many
association that looks like this:

has_many :KeyAspects

instead of

has_many :key_aspects?

On Apr 4, 7:23 pm, Nasir J. [email protected]