aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/active_record
diff options
context:
space:
mode:
authorEugene Kenny <elkenny@gmail.com>2016-06-17 23:39:33 +0100
committerEugene Kenny <elkenny@gmail.com>2016-08-15 01:14:08 +0100
commit115e31440cd48a5c6f00675f69b93eb7d4410181 (patch)
tree83b9be3389bc7e6c6c376e7ca17db8e2b46db52b /activerecord/test/active_record
parentb6c0bc9c8a6a6dc86b315566e3ab52acc1a5377d (diff)
downloadrails-115e31440cd48a5c6f00675f69b93eb7d4410181.tar.gz
rails-115e31440cd48a5c6f00675f69b93eb7d4410181.tar.bz2
rails-115e31440cd48a5c6f00675f69b93eb7d4410181.zip
Update increment! documentation [ci skip]
The `increment!` and `decrement!` methods were recently reimplemented to make them safe to call from multiple connections concurrently. This changed their behaviour in a few ways. Previously they used `update_attribute`, which calls the attribute setter method, runs callbacks, and touches the record. Now they behave more like `update_column`, writing the update to the database directly and bypassing all of those steps.
Diffstat (limited to 'activerecord/test/active_record')
0 files changed, 0 insertions, 0 deletions