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
const_missing’ (eval):1:inconfigure_dependency_for_has_many’
destroy’ script\server:3 -e:2:inload’

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]

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