This project is archived and is in readonly mode.

Changeset [52a50db6c0183bf53c6760cce74529c13ed3e271] 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

Committed by Mike Breen

  • M activerecord/lib/active_record/nested_attributes.rb
  • M activerecord/test/cases/nested_attributes_test.rb
  • M activerecord/test/models/treasure.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=""></a>