Hi

I'm using the nested_attributes plugin and it's working fine. But when
I try to run the update method, the chield object is not saved. The
plugin is working just when I use the save method. A new child is
created when I try to update a current object and the existing related
object is nullified.

My layout design is:

Account model : one_to_one :profile; nested_attributes :profile

Profile model: many_to_one :account


Any ideas?

Thanks,

Rodrigo Nicola
twitter.com/rodnic

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" 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/sequel-talk?hl=en.

Reply via email to