This project is archived and is in readonly mode.

Changeset [5dbc9d40a49f5f0f50c2f3ebe6dda942f0e61562] by Lance Ivy

February 13th, 2009 @ 08:47 AM

Changed API of NestedAttributes to take an array, or hash with index keys, of hashes that have the id on the inside of the attributes hash and updated the FormBuilder to produce such hashes. Also fixed NestedAttributes with composite ids.

Signed-off-by: Michael Koziarski michael@koziarski.com Signed-off-by: Eloy Duran eloy.de.enige@gmail.com [#1892 state:committed] http://github.com/rails/rails/co...

Committed by Lance Ivy

  • M actionpack/lib/action_view/helpers/form_helper.rb
  • M actionpack/test/template/form_helper_test.rb
  • M activerecord/lib/active_record/nested_attributes.rb
  • M activerecord/test/cases/nested_attributes_test.rb
  • M activerecord/test/models/pirate.rb
  • M activerecord/test/models/ship.rb

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>