This project is archived and is in readonly mode.

#1031 ✓wontfix
Josh Susser

handle parameterized associations

Reported by Josh Susser | September 12th, 2008 @ 06:30 AM | in 2.x

This patch is an alternate approach to creating/updating associated models via parameter hashes submitted from forms. See ticket for background:

http://rails.lighthouseapp.com/p...

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>

Attachments

Referenced by

Pages