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 Jones
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> 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:in `configure_dependency_for_has_many''
> #{RAILS_ROOT}/app/controllers/project_areas_controller.rb:129:in
> `destroy''
> script\server:3
> -e:2:in `load''
> -e:2
>
> Many thanks people
>
>
Attachments:http://www.ruby-forum.com/attachment/1688/project_areas_controller.rb
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---