index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
lib
/
active_record
/
counter_cache.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Remove unused splat args in `_create_record`
Ryuta Kamizono
2018-09-02
1
-2
/
+1
*
Extract `Relation#update_counters` for internal use
Ryuta Kamizono
2018-07-30
1
-21
/
+1
*
Fix `touch` option to behave consistently with `Persistence#touch` method
Ryuta Kamizono
2018-06-18
1
-12
/
+10
*
Avoid a subquery in updating counter cache
Ryuta Kamizono
2018-05-26
1
-1
/
+7
*
removed unnecessary returns
Shuhei Kitagawa
2017-10-28
1
-1
/
+1
*
Merge pull request #29765 from lugray/fix_counter_cache
Rafael França
2017-07-24
1
-1
/
+0
|
\
|
*
Add test for fixed `counter_cache` double increment
Lisa Ugray
2017-07-19
1
-1
/
+0
*
|
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
1
-0
/
+2
|
/
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
Revert "Don't guard against `touch: []`."
Kasper Timm Hansen
2017-01-15
1
-1
/
+2
*
Don't guard against `touch: []`.
Kasper Timm Hansen
2017-01-15
1
-2
/
+1
*
Add the touch option to ActiveRecord#increment! and decrement!
akihiro17
2017-01-14
1
-1
/
+2
*
Counter cache touching don't need object finding anymore
Ryuta Kamizono
2017-01-03
1
-6
/
+5
*
Fix update counters of multiple records with touch: true
Ryuta Kamizono
2017-01-03
1
-1
/
+1
*
[ci skip] Use touch; slim wording.
Kasper Timm Hansen
2017-01-02
1
-2
/
+2
*
Fix grammar in active_record/counter_cache.rb [ci skip]
kenta-s
2017-01-02
1
-3
/
+3
*
`touch_time` should be type casted to respect the precision of the column
Ryuta Kamizono
2017-01-02
1
-3
/
+1
*
Prefer `each` over `map` because unused return value
Ryuta Kamizono
2017-01-02
1
-1
/
+1
*
Don't invoke `touch_updates` if `touch` does not supplied
Ryuta Kamizono
2017-01-02
1
-3
/
+3
*
Fix tests with counter cache touching and more.
Kasper Timm Hansen
2017-01-01
1
-18
/
+10
*
Added option to ActiveRecord::CounterCache methods.
Jarred Trost
2017-01-01
1
-8
/
+68
*
code gardening: removes redundant selfs
Xavier Noria
2016-08-08
1
-1
/
+1
*
applies remaining conventions across the project
Xavier Noria
2016-08-06
1
-1
/
+0
*
applies new string literal convention in activerecord/lib
Xavier Noria
2016-08-06
1
-2
/
+2
*
Pluralize counter_cache column name in example [ci skip]
Amit Thawait
2016-01-20
1
-4
/
+4
*
applies new doc guidelines to Active Record.
Yves Senn
2015-10-14
1
-6
/
+6
*
Improve consistency of counter caches updating in memory
Sean Griffin
2015-01-26
1
-1
/
+1
*
Go through normal `update_all` logic when updating counter caches
Sean Griffin
2014-12-26
1
-4
/
+3
*
remove useless methods
Sergey Alekseev
2014-12-03
1
-10
/
+0
*
No need to call to_sym here
Godfrey Chan
2014-09-20
1
-1
/
+1
*
Redefine macro checks for reflections
eileencodes
2014-07-30
1
-1
/
+1
*
Add `:all` argument to `count` in `reset_counters`
Cade Truitt
2014-07-02
1
-1
/
+1
*
Refactoring .reflections public method.
Arthur Neves
2014-05-26
1
-1
/
+1
*
Merge pull request #15210 from arthurnn/fix_hbtm_reflection
Arthur Neves
2014-05-24
1
-3
/
+2
*
Updates reset_counters to allow counter name in params
Jason Normore
2014-05-16
1
-5
/
+10
*
Restore the destroy_by_association check in post destroy counter cache
Jean Boussier
2014-04-15
1
-2
/
+9
*
Set _after_create_counter_called flag to make update counter cache work
Jean Boussier
2014-04-15
1
-1
/
+6
*
Use inheritance chain instead of callbacks to increment counter caches after ...
Jean Boussier
2014-04-14
1
-4
/
+4
*
Use inheritance chain instead of callbacks to increment counter caches after ...
Jean Boussier
2014-04-14
1
-0
/
+16
*
Make counter cache decrementation on destroy idempotent
Jean Boussier
2014-04-13
1
-0
/
+21
*
Spelling and Grammar checks
Akshay Vishnoi
2013-12-12
1
-4
/
+4
*
changed update counter to act on unscoped model
heruku
2013-11-26
1
-1
/
+1
*
pass the pk to compile_update
Aaron Patterson
2013-11-16
1
-1
/
+1
*
update_counters accepts a hash, not an array of hashes
Michael Kozono
2013-05-21
1
-1
/
+1
*
`#reset_counters` verifies counter names.
Yves Senn
2013-03-15
1
-1
/
+2
*
grammar improvements for increment_counter and decrement_counter docs
Matthew Robertson
2012-12-02
1
-6
/
+8
*
increment_counter and decrement_counter can accept and array of ids as an arg
Matthew Robertson
2012-12-02
1
-2
/
+2
*
1.9 Syntax related changes
AvnerCohen
2012-11-10
1
-2
/
+2
*
Refactor
Santiago Pastorino
2012-10-03
1
-5
/
+4
[next]