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 [f82adc7c5addb4f9bf6b9cb3f1fcf3fb47505e53] by Eloy Duran

Revision f82adc7c5addb4f9bf6b9cb3f1fcf3fb47505e53, committed by Eloy Duran · January 7th, 2010 @ 12:19 PM

Add AssociationReflection#collection_association? which returns true if it's for a has_many or has_and_belongs_to_many association.
http://github.com/rails/rails/commit/f82adc7c5addb4f9bf6b9cb3f1fcf3...

2 changed files

  • M activerecord/lib/active_record/reflection.rb
  • M activerecord/test/cases/reflection_test.rb