This project is archived and is in readonly mode.
Changeset [c47f802d0e7b0156512f197887d6e9bda6d0f269] by Jon Leighton
Revision c47f802d0e7b0156512f197887d6e9bda6d0f269,
committed by Jon Leighton
· January 4th, 2011 @ 12:24 AM
Have a proper AssociationReflection#foreign_type method rather
than using options[:foreign_type]
https://github.com/rails/rails/commit/c47f802d0e7b0156512f197887d6e...
8 changed files
-
M
activerecord/lib/active_record/association_preload.rb -
M
activerecord/lib/active_record/associations.rb -
M
activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb -
M
activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb -
M
activerecord/lib/active_record/associations/through_association.rb -
M
activerecord/lib/active_record/fixtures.rb -
M
activerecord/lib/active_record/reflection.rb -
M
activerecord/test/cases/reflection_test.rb