Ruby on Rails Saturday, May 1, 2010

Mlle wrote:
> You should probably have the Person have an Address, that way you can
> nest the Address creation form within your Person form.
> Logically, you shouldn't nest the form of an Address within a Person
> form since it's the Address that owns the Person according to your
> current model...

No, no. I solved the issue and the creation makes sense. View this post
and you will understand why.

http://stackoverflow.com/questions/1313149/getting-fields-for-and-accepts-nested-attributes-for-to-work-with-a-belongs-to-re
--
Posted via http://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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment