aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/through_association.rb
Commit message (Expand)AuthorAgeFilesLines
* modernizes hash syntax in activerecordXavier Noria2016-08-061-1/+1
* Fix misleading errors for has_one through relationsMehmet Emin İNAÇ2015-07-221-2/+10
* Correct through associations using scopesSean Griffin2015-06-301-6/+0
* Doc fix [ci skip]Sushruth Sivaramakrishnan2015-03-071-1/+1
* Don't rely on relation mutability when building through associationsSean Griffin2015-01-241-1/+1
* Merge pull request #15309 from iantropov/issue_12698_build_throughRafael Mendonça França2015-01-021-0/+11
|\
| * Add setting of FK for throgh associations while buildingIvan Antropov2014-05-251-0/+11
* | Only merge scopes with zero arity in has_many throughAgis-2014-08-201-1/+5
* | Don't delegate Reflection#chain to ThroughAssociationeileencodes2014-08-041-2/+2
* | Use available method rather than macro name checkingCarlos Antonio da Silva2014-07-311-1/+1
* | Through associations should set both parent ids on join modelsSean Griffin2014-06-131-6/+10
* | reuse available belongs_to? methodeileencodes2014-06-031-3/+2
|/
* Merge pull request #14573 from habermann24/has_many_through_fixRafael Mendonça França2014-04-221-2/+4
|\
| * Minor improvement: Use the merge method on the relation instead of instance_e...Jan Habermann2014-04-031-1/+1
| * Simplify the code in target_scopeJan Habermann2014-04-031-5/+2
| * Properly handle scoping with has_many :through. Fixes #14537.Jan Habermann2014-04-031-2/+7
|/
* use drop and avoid a range objectAaron Patterson2013-08-011-1/+1
* Simplify/fix implementation of default scopesJon Leighton2013-06-281-1/+1
* optimize some code around mergeVipul A M2013-04-031-1/+1
* Migration of docs to 1.9 hash syntaxAvnerCohen2012-10-231-1/+1
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-1/+1
* @stale_state should be nil when a model isn't saved.kennyj2012-04-131-1/+1
* Not need to pass join attributes to association buildRafael Mendonça França2012-03-071-3/+7
* Fix #3247.Jon Leighton2011-11-031-1/+1
* Don't include any of includes, preload, joins, eager_load in the through asso...Jon Leighton2011-09-071-1/+1
* Nested through associations: preloads from the default scope of a through mod...Jon Leighton2011-09-061-1/+1
* Ignore :includes on through associationsAndrew White2011-05-241-1/+1
* Don't use select() values from the join model of a through association. Fixes...Jon Leighton2011-05-111-3/+4
* Don't use mass-assignment protection when applying the scoped.scope_for_creat...Jon Leighton2011-05-101-1/+3
* 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