aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_many_through_association.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
|\
| * Always update counter caches in memory when adding recordsSean Griffin2014-06-161-1/+0
* | Merge pull request #15772 from nbudin/sti_through_bugRafael Mendonça França2014-06-191-1/+3
|\ \ | |/ |/|
| * Don't include inheritance column in the through_scope_attributesNat Budin2014-06-171-1/+1
|/
* Merge pull request #15701 from zzak/issue_15496Rafael Mendonça França2014-06-131-1/+5
|\
| * Open extension point for defining options in build_through_recordZachary Scott2014-06-131-1/+5
* | Through associations should set both parent ids on join modelsSean Griffin2014-06-131-1/+5
|/
* reuse available collection? check instead of macroeileencodes2014-06-091-3/+3
* add has_one? method and reuse instead of checking macroeileencodes2014-06-091-1/+1
* Do not try to set the foreign_key again on has_many throughRafael Mendonça França2014-06-091-1/+1
* reuse available belongs_to? methodeileencodes2014-06-031-1/+1
* rename delete_all_records to delete_or_nullify_all_recordseileencodes2014-05-131-6/+2
* begin refactoring delete_records methodeileencodes2014-05-131-0/+4
* Fixed HABTM's CollectionAssociation sizeFred Wu2014-05-081-1/+1
* Follow-up to #14990 [ci skip]Jon Atack2014-05-071-10/+9
* Fixed grammarFred Wu2014-05-061-1/+1
* use cache queries for hm:t associationsAaron Patterson2014-04-151-1/+1
* again, read_attribute is public, so just call itAaron Patterson2014-04-131-1/+1
* Merge pull request #12829 from iantropov/issue_insert_via_hmt_scope_3548Rafael Mendonça França2014-04-101-1/+5
|\
| * Fix insertion of records for hmt association with scope, fix #3548Ivan Antropov2013-11-171-1/+5
* | let `insert_record` actuall save the object.Aaron Patterson2014-02-251-2/+1
|/
* Prevent the counter cache from being decremented twicedm1try2013-11-111-1/+1
* fix deleting join models with no pkAaron Patterson2013-09-111-1/+15
* Adding a bang to method name of raise_on_type_mismatch.wangjohn2013-03-211-1/+1
* Reverting 16f6f25 (Change behaviour with empty array in where clause)Guillermo Iguaran2013-02-081-1/+1
* Change behaviour with empty array in where clauserobertomiranda2013-02-081-1/+1
* target_reflection_has_associated_record? refactoringAngelo Capilleri2013-01-081-5/+1
* Fix for has_many_through counter_cache bugMatthew Robertson2012-12-141-0/+5
* Merge pull request #7251 from rails/integrate-strong_parametersDavid Heinemeier Hansson2012-09-181-2/+2
|\