This project is archived and is in readonly mode.

Changeset [1644663ba7f678d178deab2bf1629dc05626f85b] by Jon Leighton

February 18th, 2011 @ 12:00 AM

Split AssociationProxy into an Association class (and subclasses) which manages the association, and a CollectionProxy class which is only a proxy. Singular associations no longer have a proxy. See CHANGELOG for more.
https://github.com/rails/rails/commit/1644663ba7f678d178deab2bf1629...

Committed by Jon Leighton

  • A activerecord/lib/active_record/associations/association.rb
  • A activerecord/lib/active_record/associations/collection_association.rb
  • A activerecord/lib/active_record/associations/collection_proxy.rb
  • R activerecord/lib/active_record/associations/association_proxy.rb
  • R activerecord/lib/active_record/associations/association_collection.rb
  • R activerecord/test/cases/associations/association_proxy_test.rb
  • M activerecord/CHANGELOG
  • M activerecord/lib/active_record/association_preload.rb
  • M activerecord/lib/active_record/associations.rb
  • M activerecord/lib/active_record/associations/class_methods/join_dependency.rb
  • M activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
  • M activerecord/lib/active_record/associations/has_many_association.rb
  • M activerecord/lib/active_record/associations/has_many_through_association.rb
  • M activerecord/lib/active_record/associations/has_one_through_association.rb
  • M activerecord/lib/active_record/associations/singular_association.rb
  • M activerecord/lib/active_record/autosave_association.rb
  • M activerecord/lib/active_record/nested_attributes.rb
  • M activerecord/lib/active_record/reflection.rb
  • M activerecord/lib/active_record/relation/predicate_builder.rb
  • M activerecord/test/cases/associations/belongs_to_associations_test.rb
  • M activerecord/test/cases/associations/has_one_associations_test.rb
  • M activerecord/test/cases/associations/has_one_through_associations_test.rb
  • M activerecord/test/cases/associations/inverse_associations_test.rb
  • M activerecord/test/cases/associations/join_model_test.rb
  • M activerecord/test/cases/associations_test.rb
  • M activerecord/test/cases/autosave_association_test.rb
  • M activerecord/test/cases/named_scope_test.rb
  • M activerecord/test/cases/nested_attributes_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>