aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_many_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Fixed unnecessary nesting in handle_dependencyHerman Hiddema2016-07-041-7/+5
* Make #increment! and #decrement! methods concurency safeBogdan Gusiev2015-10-051-8/+2
* Clean up the implementation of AR::DirtySean Griffin2015-09-241-1/+1
* `restrict_with_error` message will now respect owner’s human name in any lo...Ronak Jangir2015-09-121-1/+1
* HasManyAssociation: moved half of counter cache code to reflectionBogdan Gusiev2015-09-031-60/+9
* Merge pull request #19683 from tristang/require-option-for-counter-cacheRafael Mendonça França2015-08-131-1/+8
|\
| * Require explicit counter_cache option for has_manyTristan Gamilis2015-04-071-1/+8
* | Deprecate and rename the keys for association restrict_dependent_destroyRoque Pinel2015-07-201-1/+8
|/
* Correct errors in counter cache updatingSean Griffin2015-02-031-1/+5
* Improve consistency of counter caches updating in memorySean Griffin2015-01-261-5/+15
* Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-021-1/+1
* Share foreign_key_present? implementation in _has_ associationsbrainopia2014-12-311-8/+1
* Improve the performance of reading attributesSean Griffin2014-11-181-1/+1
* Don't expose these new APIs yet (added in 877ea78 / #16189)Godfrey Chan2014-08-161-1/+1
* Implement `_was` and `changes` for in-place mutations of AR attributesSean Griffin2014-08-161-1/+1
* Redefine macro checks for reflectionseileencodes2014-07-301-1/+1
* Merge pull request #15266 from dv/use_counter_cache_for_empty_callGodfrey Chan2014-07-151-0/+8
|\
| * If a counter_cache exists, use it for #empty?David Verhasselt2014-06-101-0/+8
* | Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-261-1/+9
* | Always update counter caches in memory when adding recordsSean Griffin2014-06-161-0/+26
|/
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-1/+2
* remove count vareileencodes2014-05-131-4/+2
* rename delete_all_records to delete_or_nullify_all_recordseileencodes2014-05-131-1/+1
* remove need for :all symboleileencodes2014-05-131-13/+6
* begin refactoring delete_records methodeileencodes2014-05-131-12/+25
* read_attribute is public, so we should just call itAaron Patterson2014-04-131-1/+1
* make tests pass on Ruby 2.2Aaron Patterson2014-03-131-4/+4
* fix HABTM w/out primary key errors on destructionKevin Casey2014-02-021-1/+1
* Raise `RecordNotDestroyed` when children can't be replacedBrian Thomas Storti2013-11-251-1/+1
* Make sure inverse_of is visible on the has_many callbacksArthur Neves2013-09-251-0/+1
* hm:t join tables may not have a primary keyAaron Patterson2013-09-061-1/+5
* Revert "Merge pull request #11416 from tigrish/master"Yves Senn2013-07-221-1/+1
* Remove ambiguity with pluralizations and I18n keys used for association restr...Christopher Dell2013-07-131-1/+1
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-031-1/+1
* Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-021-2/+0
* Removed support for deprecated `counter_sql`Neeraj Singh2013-07-021-1/+1
* Fix the `:primary_key` option for `has_many` associations.Yves Senn2013-05-231-2/+1
* Update other counter caches on destroyIan Young2013-03-201-1/+1
* dependent: :destroy should call destroy_allNeeraj Singh2013-03-111-2/+3
* :counter_cache option for to support custom named counter caches. Closes #7993Yves Senn2012-11-041-1/+1
* move dependency logic out of generated methodsJon Leighton2012-08-101-0/+22
* s/scoped/scope/Jon Leighton2012-08-011-3/+3
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-1/+7
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-7/+1
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-1/+1
* Perf: Don't load the association for #delete_all.Jon Leighton2012-05-181-2/+6
* Fix #3672 again (dependent: delete_all perf)Jon Leighton2011-12-141-7/+3
* load has_many associations keyed off a custom primary key if that key is pres...Brian Samson2011-11-251-0/+4
* Perf fixJon Leighton2011-11-191-2/+6
* Only save the record once when calling create! on a collection association. F...Jon Leighton2011-05-311-2/+7