aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorShivam Jain <shivam@vinsol.com>2019-02-23 01:03:54 +0530
committerShivam Jain <shivam@vinsol.com>2019-02-23 01:22:53 +0530
commita56a3d05d81e8db6b2f754ac072dab4e2d08ec4a (patch)
treed137356aaaf44f1ab2664855b2fad764a0a13834 /guides
parent5e29ea0f2a4d483cdd09ce61c5f53b785d876af0 (diff)
downloadrails-a56a3d05d81e8db6b2f754ac072dab4e2d08ec4a.tar.gz
rails-a56a3d05d81e8db6b2f754ac072dab4e2d08ec4a.tar.bz2
rails-a56a3d05d81e8db6b2f754ac072dab4e2d08ec4a.zip
update callbacks skipping methods in guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_record_callbacks.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/guides/source/active_record_callbacks.md b/guides/source/active_record_callbacks.md
index 4568b467ef..614737c342 100644
--- a/guides/source/active_record_callbacks.md
+++ b/guides/source/active_record_callbacks.md
@@ -239,13 +239,12 @@ Skipping Callbacks
Just as with validations, it is also possible to skip callbacks by using the following methods:
-* `decrement`
+* `decrement!`
* `decrement_counter`
* `delete`
* `delete_all`
-* `increment`
+* `increment!`
* `increment_counter`
-* `toggle`
* `update_column`
* `update_columns`
* `update_all`