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 [c896d56c6e5520346c260477f7d7f8bf951e72cc] by Tom Lea

Revision c896d56c6e5520346c260477f7d7f8bf951e72cc, committed by Tom Lea · March 6th, 2009 @ 06:27 PM

Ensure self referential HABTM associations raise an exception if association_foreign_key is missing. [#1252 state:resolved]

Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

2 changed files

  • M activerecord/lib/active_record/associations.rb
  • M activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb