aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_many_through_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #35799 from leboshi/masterRyuta Kamizono2019-03-311-11/+4
|\
| * Fix callbacks on has_many :through associations (#33249)Ryan Kerr2019-03-301-10/+4
|/
* Ensure that `delete_all` on collection proxy returns affected countRyuta Kamizono2018-12-041-0/+2
* Optimize difference and intersectionFlorian Ebeling2018-11-061-17/+9
* Rename union to intersectionFlorian Ebeling2018-11-061-1/+1
* Fix handling of duplicates for `replace` on has_many-throughFlorian Ebeling2018-11-061-0/+30
* Don't expose internal methods in the associationsRyuta Kamizono2018-10-081-14/+14
* Initialization block is a part of `build_record`Ryuta Kamizono2018-06-041-1/+1
* Fix building has_one through recordRyuta Kamizono2018-01-231-8/+1
* Don't update counter cache when through record was not destroyedEugene Kenny2018-01-141-1/+1
* Merge pull request #23146 from piotrj/issue_18424Ryuta Kamizono2018-01-111-0/+1
|\
| * When deleting through records, take into account association conditionsPiotr Jakubowski2016-05-041-8/+9
* | Simply use `scope.delete_all` instead of constructing delete managerRyuta Kamizono2018-01-071-8/+1
* | Fix broken doc for Active Record [ci skip]Yoshiyuki Hirano2017-08-251-1/+1
* | Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-1/+1
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* | Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | ActiveRecord: do not create "has many through" records that have been removedTobias Kraze2017-06-281-0/+5
* | Prevent double firing the before save callback of new object when the parent ...Ryuta Kamizono2017-04-211-5/+1
* | Should not update children when the parent creation with no reasonRyuta Kamizono2016-12-291-4/+6
* | Add a record to target before any callbacks loads the recordRyuta Kamizono2016-12-231-4/+0
* | Merge PR #19759Arthur Neves2016-10-281-1/+4
|\ \
| * | Fix for has_and_belongs_to_many & has_many_through associations while partial...Mehmet Emin İNAÇ2016-02-131-1/+4
| |/
* | Don't skip in-memory insertion of associations when loaded in validateSean Griffin2016-09-291-0/+4
* | modernizes hash syntax in activerecordXavier Noria2016-08-061-2/+2
* | applies new string literal convention in activerecord/libXavier Noria2016-08-061-1/+1
* | Avoid duplicated `set_inverse_instance` for target scopeRyuta Kamizono2016-08-031-1/+1
|/
* Add missing source_type if provided on hmt which belongs to an sti recordVipul A M2016-01-241-0/+5
* HasManyAssociation: moved half of counter cache code to reflectionBogdan Gusiev2015-09-031-1/+1
* Revert "Revert "Reduce allocations when running AR callbacks.""Guo Xiang Tan2015-07-161-1/+1
* Autosave existing records on HMT associations when the parent is newSean Griffin2015-04-181-6/+4
* Revert "Reduce allocations when running AR callbacks."Guo Xiang Tan2015-03-221-1/+1
* Correct errors in counter cache updatingSean Griffin2015-02-031-2/+2
* Remove Relation#bind_paramsSean Griffin2015-01-271-1/+1
* Remove unneeded requiresRafael Mendonça França2015-01-041-2/+0
* Remove deprecated automatic counter caches on `has_many :through`Rafael Mendonça França2015-01-041-14/+0
* Remove unneeded special case to calculate size for has_many :throughBogdan Gusiev2014-12-231-15/+0
* Update Arel usage for rails/arel#98fc259Sean Griffin2014-11-291-1/+1
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-3/+1
* Improve the performance of reading attributesSean Griffin2014-11-181-1/+1
* Avoid unnecessary allocations/callsPablo Herrero2014-11-021-1/+1
* edit pass over all warningsXavier Noria2014-10-281-3/+3
* let's warn with heredocsXavier Noria2014-10-281-5/+8
* Prefix internal method with _Rafael Mendonça França2014-10-251-1/+1
* Reduce allocations when running AR callbacks.Pete Higgins2014-09-281-1/+1
* Avoid using heredoc for user warningsGodfrey Chan2014-08-281-6/+6
* remove blank lines in the start of the ActiveRecord filesPonomarev Nikolay2014-07-291-1/+0
* Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-261-0/+14
* Merge pull request #15747 from sgrif/sg-trolololol-this-is-so-brokenRafael Mendonça França2014-06-191-1/+0
|\