Hi there, I've asked this question at stackoverflow.com http://stackoverflow.com/questions/11257662/can-i-make-rails-update-attributes-with-nested-form-find-existing-records-and-ad
I haven't seen a better answer than one I propose myself but I'd like to know if it's possible to enhance accepts_nested_attribute_for to allow a find_or_create_by behavior for the one-to-many associated collection, instead of always creating new records. Thanks! Yuklai -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/Et10ZC70Ye0J. 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/rubyonrails-core?hl=en.
