This project is archived and is in readonly mode.
handle parameterized associations
This patch is an alternate approach to creating/updating associated models via parameter hashes submitted from forms. See ticket for background:
This patch is largely extracted from a working application, taking some inspiration from Ryan Bates' advanced recipe too. Fellow pivot Ryan Dy gets half the credit too.
Stay tuned for another patch that will add support for parameterized associations to the form_for helper.
Comments and changes to this ticket
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>