aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Torres <tn.pablo@gmail.com>2012-12-12 12:01:37 -0500
committerPablo Torres <tn.pablo@gmail.com>2012-12-12 12:01:37 -0500
commit2cdf6bda4a34c9e20eb0af41ccb18a4bcb192aed (patch)
tree56c3f6682396494415bb4c4811a9697218906d2a
parent019b38999d8bc7e1f33b89a85279a43c89b29672 (diff)
downloadrails-2cdf6bda4a34c9e20eb0af41ccb18a4bcb192aed.tar.gz
rails-2cdf6bda4a34c9e20eb0af41ccb18a4bcb192aed.tar.bz2
rails-2cdf6bda4a34c9e20eb0af41ccb18a4bcb192aed.zip
Add #destroy! as a method that triggers callbacks
-rw-r--r--guides/source/active_record_callbacks.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/source/active_record_callbacks.md b/guides/source/active_record_callbacks.md
index 971c1cdb25..0a93f61f6d 100644
--- a/guides/source/active_record_callbacks.md
+++ b/guides/source/active_record_callbacks.md
@@ -150,6 +150,7 @@ The following methods trigger callbacks:
* `create!`
* `decrement!`
* `destroy`
+* `destroy!`
* `destroy_all`
* `increment!`
* `save`