aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_model_basics.textile
diff options
context:
space:
mode:
authorBogdan Gusiev <agresso@gmail.com>2012-01-12 10:44:10 +0200
committerBogdan Gusiev <agresso@gmail.com>2012-01-12 10:44:10 +0200
commit19357a7b023fd56a5b381cd8894bb520c60cdb59 (patch)
treebbfb4130c9e3514d92a382f6fa836d37633c8420 /railties/guides/source/active_model_basics.textile
parent838d30f182b1fa0cabd977e98fc47b4adb2064e4 (diff)
downloadrails-19357a7b023fd56a5b381cd8894bb520c60cdb59.tar.gz
rails-19357a7b023fd56a5b381cd8894bb520c60cdb59.tar.bz2
rails-19357a7b023fd56a5b381cd8894bb520c60cdb59.zip
AS::Callbacks: remove unused runner
Diffstat (limited to 'railties/guides/source/active_model_basics.textile')
-rw-r--r--railties/guides/source/active_model_basics.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_model_basics.textile b/railties/guides/source/active_model_basics.textile
index 9c8ad24cee..98b3533000 100644
--- a/railties/guides/source/active_model_basics.textile
+++ b/railties/guides/source/active_model_basics.textile
@@ -56,7 +56,7 @@ class Person
before_update :reset_me
def update
- _run_update_callbacks do
+ run_callbacks(:update) do
# This will call when we are trying to call update on object.
end
end