This project is archived and is in readonly mode.
Changeset [ff508640e28914da2b546f6a8c9f215bab201b61] by Murray Steele
Revision ff508640e28914da2b546f6a8c9f215bab201b61,
committed 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 eloy.de.enige@gmail.com
http://github.com/rails/rails/commit/ff508640e28914da2b546f6a8c9f21...
4 changed files
-
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