diff options
author | Bogdan Gusiev <agresso@gmail.com> | 2012-01-12 10:44:10 +0200 |
---|---|---|
committer | Bogdan Gusiev <agresso@gmail.com> | 2012-01-12 10:44:10 +0200 |
commit | 19357a7b023fd56a5b381cd8894bb520c60cdb59 (patch) | |
tree | bbfb4130c9e3514d92a382f6fa836d37633c8420 /railties/guides/source/active_model_basics.textile | |
parent | 838d30f182b1fa0cabd977e98fc47b4adb2064e4 (diff) | |
download | rails-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.textile | 2 |
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 |