diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-11-13 19:48:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 19:48:20 +0900 |
commit | 479f17dc11287cf46b4707b6a8caebef2875a817 (patch) | |
tree | 1a54024e8920bea9db4392f9d95943bb6cf492d6 /guides | |
parent | d134a9aa92838fd1511eca751777fcf1fdeacd51 (diff) | |
parent | 17ea5bf80809d11c337a30e4059cab8d8eb00d01 (diff) | |
download | rails-479f17dc11287cf46b4707b6a8caebef2875a817.tar.gz rails-479f17dc11287cf46b4707b6a8caebef2875a817.tar.bz2 rails-479f17dc11287cf46b4707b6a8caebef2875a817.zip |
Merge pull request #31139 from avneetmalhotra/touch_callback_documentation_fix
Move touch method from Skipping Callbacks section to Running Callback…
[ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_callbacks.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_callbacks.md b/guides/source/active_record_callbacks.md index 53417f012e..630dafe632 100644 --- a/guides/source/active_record_callbacks.md +++ b/guides/source/active_record_callbacks.md @@ -213,6 +213,7 @@ The following methods trigger callbacks: * `save!` * `save(validate: false)` * `toggle!` +* `touch` * `update_attribute` * `update` * `update!` @@ -245,7 +246,6 @@ Just as with validations, it is also possible to skip callbacks by using the fol * `increment` * `increment_counter` * `toggle` -* `touch` * `update_column` * `update_columns` * `update_all` |