This project is archived and is in readonly mode.
Changeset [5dbc9d40a49f5f0f50c2f3ebe6dda942f0e61562] by Lance Ivy
Revision 5dbc9d40a49f5f0f50c2f3ebe6dda942f0e61562,
committed 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...
6 changed files
-
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