This project is archived and is in readonly mode.

Changeset [ff508640e28914da2b546f6a8c9f215bab201b61] by Murray Steele

December 28th, 2009 @ 02:12 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

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=""></a>