This project is archived and is in readonly mode.

Changeset [3470b306bb22df0394025f4dcf3915eb1166ac23] by Murray Steele

December 28th, 2009 @ 01:21 PM

Make polymorphic_inverse_of in Reflection throw an InverseOfAssociationNotFoundError if the supplied class doesn't have the appropriate association. [#3520 state:resolved]

Signed-off-by: Eloy Duran eloy.de.enige@gmail.com
http://github.com/rails/rails/commit/3470b306bb22df0394025f4dcf3915...

Committed by Murray Steele

  • M activerecord/lib/active_record/associations.rb
  • M activerecord/lib/active_record/reflection.rb
  • M activerecord/test/cases/associations/inverse_associations_test.rb
  • M activerecord/test/models/face.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>