Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [3470b306bb22df0394025f4dcf3915eb1166ac23] by Murray Steele

Revision 3470b306bb22df0394025f4dcf3915eb1166ac23, committed 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...

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