This project is archived and is in readonly mode.

Changeset [bcd0ef710ec6d2cc6b880c39de0dfacc07df85e4] by Mike Breen

September 12th, 2009 @ 02:37 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/bcd0ef710ec6d2cc6b880c39de0dfa...

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>