aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/counter_cache_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix `touch` option to behave consistently with `Persistence#touch` methodRyuta Kamizono2018-06-181-6/+6
* 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
* Add test for update_counters with empty touchEugene Kenny2017-01-151-0/+9
* Fix update counters of multiple records with touch: trueRyuta Kamizono2017-01-031-0/+10
* Fix tests with counter cache touching and more.Kasper Timm Hansen2017-01-011-84/+75
* Added option to ActiveRecord::CounterCache methods.Jarred Trost2017-01-011-0/+141
* modernizes hash syntax in activerecordXavier Noria2016-08-061-8/+8
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-46/+46
* remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-221-1/+1
* Fix counter_cache for polymorphic associationsStefan Kanev2015-07-191-0/+13
* Improve consistency of counter caches updating in memorySean Griffin2015-01-261-0/+9
* Move flattening records added to an association farther outSean Griffin2015-01-261-0/+9
* Add `:all` argument to `count` in `reset_counters`Cade Truitt2014-07-021-0/+10
* Updates reset_counters to allow counter name in paramsJason Normore2014-05-161-3/+13
* Refactor AR's counter_cache_test.rb testTakehiro Adachi2013-05-231-8/+3
* Add test for AR::CounterCache.update_countersTakehiro Adachi2013-05-231-0/+6
* Add test to AR's counter_cache_test.rbTakehiro Adachi2013-05-181-0/+12
* squelch an unused variable warningAaron Patterson2013-03-221-0/+1
* Update other counter caches on destroyIan Young2013-03-201-0/+8
* Refactor Person/Friendship relationships to be more intuitiveMack Earnhardt2013-03-171-1/+1
* `#reset_counters` verifies counter names.Yves Senn2013-03-151-0/+7
* Fix reset_counters() crashing on has_many :through associations.lulalala2012-10-021-1/+14
* reset_counters() was crashing when there were multiple belongs_to association...Dave Desrochers2012-08-211-1/+10
* Fix bug where reset_counters resets the wrong counter cache.David Peter2012-01-161-2/+18
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-1/+1
* reset_counter should work with non-traditional belongs_to and polymorphic bel...Neeraj Singh2010-07-081-3/+16
* remove executable permission from files that don't need it. [#4802 state:reso...rohit2010-06-201-0/+0
* fix `reset_counters` to work even with complex class namesMislav Marohnić2010-05-241-0/+25
* move counter_cache tests to a separate file and refactorMislav Marohnić2010-05-241-0/+58