Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [d54ab371df9eb34ce26386a6656144e81eadc4b3] by Nathan B

Revision d54ab371df9eb34ce26386a6656144e81eadc4b3, committed by Nathan B · November 11th, 2010 @ 05:31 PM

Fixed bug in active_record/nested_attributes where an empty string id caused an ActiveRecord::RecordNotFound error. Found by [Ben Tillman]

[#5638 state:committed]

Signed-off-by: Santiago Pastorino santiago@wyeworks.com
https://github.com/rails/rails/commit/d54ab371df9eb34ce26386a665614...

2 changed files

  • M activerecord/lib/active_record/nested_attributes.rb
  • M activerecord/test/cases/nested_attributes_test.rb