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

Revision f12dd62d476b6ca9e5eca5462f53d6030ba5279f, committed by Eloy Duran · January 7th, 2010 @ 12:20 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/f12dd62d476b6ca9e5eca5462f53d6...

2 changed files

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