This project is archived and is in readonly mode.
Changeset [7c147e94e66530a8314bc5d836df412fd749d55b] by lukeludwig
Revision 7c147e94e66530a8314bc5d836df412fd749d55b,
committed by lukeludwig
· January 17th, 2009 @ 05:10 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