This project is archived and is in readonly mode.
Changeset [681ab53ba15f9fc95c8a91e50bb0138aa66967b2] by Jon Leighton
Revision 681ab53ba15f9fc95c8a91e50bb0138aa66967b2,
committed by Jon Leighton
· January 11th, 2011 @ 09:45 PM
Get rid of set_association_target and association_loaded? as the
parts of the code that need that can now just use
association_proxy(:name).loaded?/target=
https://github.com/rails/rails/commit/681ab53ba15f9fc95c8a91e50bb01...
5 changed files
-
M
activerecord/lib/active_record/association_preload.rb -
M
activerecord/lib/active_record/associations.rb -
M
activerecord/lib/active_record/associations/association_proxy.rb -
M
activerecord/lib/active_record/associations/class_methods/join_dependency.rb -
M
activerecord/test/cases/associations/has_one_through_associations_test.rb