This project is archived and is in readonly mode.

#248 ✓ resolved
Trevor Turk

Not able to use block-setting of attributes via association

Reported by Trevor Turk | May 23rd, 2008 @ 10:06 PM

Perhaps this could be viewed as a feature request, but it seemed like a bug to me. On Rails Edge, you can't set attributes with a block if you do so through an association. Please refer to the attached patch with a failing test case. My apologies, but I'm just not familiar enough with the Rails internals to create a proper patch that would add the functionality.

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

People watching this ticket

Pages