aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-23 05:56:21 +0900
committerGitHub <noreply@github.com>2019-02-23 05:56:21 +0900
commit1bcdfe55cf7a8a336b08cffd697141da3d90f213 (patch)
tree5b2a28efafdec7a1c42b77dc6746037506b7bc3c /guides/source
parenta342d97d576b5b3f0b31155c019006ff59ea76a3 (diff)
parenta56a3d05d81e8db6b2f754ac072dab4e2d08ec4a (diff)
downloadrails-1bcdfe55cf7a8a336b08cffd697141da3d90f213.tar.gz
rails-1bcdfe55cf7a8a336b08cffd697141da3d90f213.tar.bz2
rails-1bcdfe55cf7a8a336b08cffd697141da3d90f213.zip
Merge pull request #35370 from shivamvinsol/fix_skip_callbacks_documentation
Update callbacks skipping methods in guide. [ci skip]
Diffstat (limited to 'guides/source')
-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`