This project is archived and is in readonly mode.
Changeset [52a50db6c0183bf53c6760cce74529c13ed3e271] by Mike Breen
Revision 52a50db6c0183bf53c6760cce74529c13ed3e271,
committed by Mike Breen
· September 12th, 2009 @ 12:16 PM
Raise an exception with friendlier error message when attempting
to build a polymorphic belongs_to with
accepts_nested_attributes_for. [#2318
state:resolved]
Signed-off-by: Eloy Duran eloy.de.enige@gmail.com
http://github.com/rails/rails/commit/52a50db6c0183bf53c6760cce74529...
3 changed files
-
M
activerecord/lib/active_record/nested_attributes.rb -
M
activerecord/test/cases/nested_attributes_test.rb -
M
activerecord/test/models/treasure.rb