aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/through_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Resolve some TODO comments which I decided did not need anything doneJon Leighton2011-03-121-7/+4
* Rename Reflection#through_reflection_chain and #through_options to Reflection...Jon Leighton2011-03-101-3/+2
* Move the code which builds a scope for through associations into a generic As...Jon Leighton2011-03-101-128/+0
* Fix test_has_many_association_through_a_has_many_association_with_nonstandard...Jon Leighton2011-03-071-1/+1
* Refactor ThroughAssociation#join_to to be much smaller, and independent of co...Jon Leighton2011-03-061-84/+28
* Refactor ThroughAssociation#tables to just be a flat array of tables in the o...Jon Leighton2011-03-061-75/+70
* Push source_type and polymorphic conditions out of ThroughAssociation and Joi...Jon Leighton2011-03-051-17/+0
* Add a test for STI on the through where the through is nested, and change the...Jon Leighton2011-03-051-13/+22
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-49/+172
* Delegate through_reflection and source_reflection to reflectionJon Leighton2011-02-211-23/+23
* Delegate Association#options to the reflection, and replace 'reflection.optio...Jon Leighton2011-02-211-9/+11
* Associations - where possible, call attributes methods rather than directly a...Jon Leighton2011-02-211-34/+34
* Add :nodoc: to ThroughAssociation and HasOneAssociationJon Leighton2011-02-181-1/+1
* Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-141-2/+2
* Remove Relation#& alias for Relation#mergeErnie Miller2011-02-121-1/+1
* Support the :dependent option on has_many :through associations. For historic...Jon Leighton2011-02-071-7/+26
* Make use of helpers in AssociationReflectionJon Leighton2011-01-301-4/+4
* Has many through - It is not necessary to manually merge in the conditions ha...Jon Leighton2011-01-301-4/+0
* Don't pass around conditions as strings in ThroughAssociationJon Leighton2011-01-301-30/+25
* Indent methods under private/protected sectionsJon Leighton2011-01-301-101/+101
* Let's be less blasé about method visibility on association proxiesJon Leighton2011-01-301-7/+9
* Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-13/+8
* Create the association scope directly rather than going through with_scopeJon Leighton2011-01-031-9/+6
* Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-14/+5
* Rename AssociationProxy#foreign_key_present to foreign_key_present?Jon Leighton2011-01-031-1/+1
* Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-13/+7
* Have a proper AssociationReflection#foreign_type method rather than using opt...Jon Leighton2011-01-031-2/+2
* Rename AssociationReflection#primary_key_name to foreign_key, since the optio...Jon Leighton2010-12-311-5/+5
* Refactor BelongsToAssociation to allow BelongsToPolymorphicAssociation to inh...Jon Leighton2010-12-311-2/+0
* Add a HasAssociation module for common code for has_* associationsJon Leighton2010-12-261-0/+169