diff options
author | Eugene Kenny <elkenny@gmail.com> | 2016-06-17 23:39:33 +0100 |
---|---|---|
committer | Eugene Kenny <elkenny@gmail.com> | 2016-08-15 01:14:08 +0100 |
commit | 115e31440cd48a5c6f00675f69b93eb7d4410181 (patch) | |
tree | 83b9be3389bc7e6c6c376e7ca17db8e2b46db52b /activerecord/test/cases/adapters/postgresql/composite_test.rb | |
parent | b6c0bc9c8a6a6dc86b315566e3ab52acc1a5377d (diff) | |
download | rails-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/cases/adapters/postgresql/composite_test.rb')
0 files changed, 0 insertions, 0 deletions