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