Hi,
I am having a hard time to handle has_many associations.
I have something like this
--in model farm
has_many :parties
--in farms_controller
@farm.update_attributes(params[:farm])
where params[:farm][:parties] has values...
In the cration of the farm it goes all well, but when updating it I
have problems...
1) It doesn''t consider the parties validations
2) Even if it is all ok whith the detail, it is simply not saved.
thanks in advance
--
Ricardo Acras
ricardo-WlbSPrj98RBeoWH0uzbU5w@public.gmane.org
Acras Desenvolvimento de Sistemas
+55+41-3232-6404
www.acras.net
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---