aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/counter_cache.rb
Commit message (Expand)AuthorAgeFilesLines
* No need to call to_sym hereGodfrey Chan2014-09-201-1/+1
* Redefine macro checks for reflectionseileencodes2014-07-301-1/+1
* Add `:all` argument to `count` in `reset_counters`Cade Truitt2014-07-021-1/+1
* Refactoring .reflections public method.Arthur Neves2014-05-261-1/+1
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-3/+2
* Updates reset_counters to allow counter name in paramsJason Normore2014-05-161-5/+10
* Restore the destroy_by_association check in post destroy counter cacheJean Boussier2014-04-151-2/+9
* Set _after_create_counter_called flag to make update counter cache workJean Boussier2014-04-151-1/+6
* Use inheritance chain instead of callbacks to increment counter caches after ...Jean Boussier2014-04-141-4/+4
* Use inheritance chain instead of callbacks to increment counter caches after ...Jean Boussier2014-04-141-0/+16
* Make counter cache decrementation on destroy idempotentJean Boussier2014-04-131-0/+21
* Spelling and Grammar checksAkshay Vishnoi2013-12-121-4/+4
* changed update counter to act on unscoped modelheruku2013-11-261-1/+1
* pass the pk to compile_updateAaron Patterson2013-11-161-1/+1
* update_counters accepts a hash, not an array of hashesMichael Kozono2013-05-211-1/+1
* `#reset_counters` verifies counter names.Yves Senn2013-03-151-1/+2
* grammar improvements for increment_counter and decrement_counter docsMatthew Robertson2012-12-021-6/+8
* increment_counter and decrement_counter can accept and array of ids as an argMatthew Robertson2012-12-021-2/+2
* 1.9 Syntax related changesAvnerCohen2012-11-101-2/+2
* RefactorSantiago Pastorino2012-10-031-5/+4
* Fix reset_counters() crashing on has_many :through associations.lulalala2012-10-021-2/+7
* reset_counters() was crashing when there were multiple belongs_to association...Dave Desrochers2012-08-211-1/+1
* Simplify AR configuration code.Jon Leighton2012-06-151-98/+102
* remove deprecate #update_all usageJon Leighton2012-04-261-1/+1
* Remove IdentityMapCarlos Antonio da Silva2012-03-131-2/+0
* Refactor and cleanup in some ActiveRecord modulesCarlos Antonio da Silva2012-03-031-1/+1
* Remove not used if..else clauseCarlos Antonio da Silva2012-01-231-6/+0
* Unused var removedArun Agrawal2012-01-231-1/+1
* Fix bug where reset_counters resets the wrong counter cache.David Peter2012-01-161-1/+2
* Remove unnecessary comma.Uģis Ozols2011-12-261-1/+1
* Make it the responsibility of the connection to hold onto an ARel visitor for...Jon Leighton2011-08-081-1/+1
* Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-1/+1
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-201-1/+2
|\
| * removing more calls to deprecated methodsAaron Patterson2010-12-021-1/+2
* | Added method to IM to remove objects by class and id. Then used it to remove ...Emilio Tagua2010-11-191-0/+2
|/
* Use COALESCE in update_counters docs to reflect the implementationCarlos Antonio da Silva2010-08-181-3/+3
* Refactor previous commits a bit.José Valim2010-07-081-7/+10
* reset_counter should work with non-traditional belongs_to and polymorphic bel...Neeraj Singh2010-07-081-3/+9
* Adds title and basic description where needed.Rizwan Reza2010-06-151-0/+1
* fix `reset_counters` to work even with complex class namesMislav Marohnić2010-05-241-4/+6
* cleanup `update/reset_counters`: less SQL strings, more ActiveRecord/ArelMislav Marohnić2010-05-241-12/+8
* eliminate alias_method_chain from ActiveRecordwycats2010-05-091-0/+107