Skip to content
This repository

May 22, 2011

  1. Jon Leighton

    Fix problem with loading polymorphic associations which have been def…

    …ined in an abstract superclass. Fixes #552.

May 05, 2011

  1. Ernie Miller

    Add join conditions to JOIN clause, not WHERE

    ernie authored

Apr 14, 2011

  1. Jon Leighton

    Extract the constraint-building for joins in JoinAssociation into a s…

    …eparate method to make it easy to change/override (requested by Ernie Miller so that MetaWhere can add to it easily)
    jonleighton authored

Mar 12, 2011

  1. Jon Leighton

    Fix tests under postgres - we should always put conditions in the WHE…

    …RE part not in ON constraints because postgres requires that the table has been joined before the condition references it.
    jonleighton authored

Mar 11, 2011

  1. Jon Leighton

    Abstract some common code from AssociationScope and JoinDependency::J…

    …oinAssociation into a JoinHelper module
    jonleighton authored

Mar 10, 2011

  1. Jon Leighton

    Refactor JoinAssociation

    jonleighton authored
  2. Jon Leighton

    Rename Reflection#through_reflection_chain and #through_options to Re…

    …flection#chain and Reflection#options as they now no longer relate solely to through associations.
    jonleighton authored

Mar 05, 2011

  1. Jon Leighton

    Use Base#type_condition in JoinAssociation

    jonleighton authored
  2. Jon Leighton

    Push source_type and polymorphic conditions out of ThroughAssociation…

    … and JoinDependency::JoinAssociation and into the reflection instead.
    jonleighton authored

Mar 04, 2011

  1. Jon Leighton

    Merge branch 'master' into nested_has_many_through

    Conflicts:
    	activerecord/CHANGELOG
    	activerecord/lib/active_record/association_preload.rb
    	activerecord/lib/active_record/associations.rb
    	activerecord/lib/active_record/associations/class_methods/join_dependency.rb
    	activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb
    	activerecord/lib/active_record/associations/has_many_association.rb
    	activerecord/lib/active_record/associations/has_many_through_association.rb
    	activerecord/lib/active_record/associations/has_one_association.rb
    	activerecord/lib/active_record/associations/has_one_through_association.rb
    	activerecord/lib/active_record/associations/through_association_scope.rb
    	activerecord/lib/active_record/reflection.rb
    	activerecord/test/cases/associations/has_many_through_associations_test.rb
    	activerecord/test/cases/associations/has_one_through_associations_test.rb
    	activerecord/test/cases/reflection_test.rb
    	activerecord/test/cases/relations_test.rb
    	activerecord/test/fixtures/memberships.yml
    	activerecord/test/models/categorization.rb
    	activerecord/test/models/category.rb
    	activerecord/test/models/member.rb
    	activerecord/test/models/reference.rb
    	activerecord/test/models/tagging.rb
    jonleighton authored

Feb 28, 2011

  1. Jon Leighton

    Move JoinDependency and friends from ActiveRecord::Associations::Clas…

    …sMethods to just ActiveRecord::Associations
    jonleighton authored
Something went wrong with that request. Please try again.