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 [3ee4e009185173aab78f6503ee45e3ef4482874e] by lukeludwig

Revision 3ee4e009185173aab78f6503ee45e3ef4482874e, committed by lukeludwig · January 17th, 2009 @ 05:09 AM

Cache columns for has_and_belongs_to_many associations

This avoids repeatedly calling SHOW COLUMNS when the association is queried [#1738 state:committed] http://github.com/rails/rails/co...

3 changed files

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