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 »

Tickets have moved to Github

The new ticket tracker is available at https://github.com/rails/rails/issues

Shared Ticket Bins

Attachments

Referenced by

Pages