Hello All,

I'm getting:
ActiveScaffold::ReverseAssociationRequired (Association orders: In
order to support :has_one and :has_many where the parent record is new
and the child record(s) validate the presence of the parent,
ActiveScaffold requires the reverse association (the belongs_to).):

 My Order model actually has belongs_to:
  belongs_to :manufacture, :class_name => "Manufacture", :foreign_key
=> "planned_manufacture_id"

When I change to just "belongs_to :manufacture", error doesn't show
up, but I still need it to be:
 belongs_to :manufacture, :class_name => "Manufacture", :foreign_key
=> "planned_manufacture_id"
not:
 belongs_to :manufacture

Any ideas what could be wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to