diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2011-01-09 10:15:05 -0800 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-01-31 19:45:53 -0200 |
commit | 57bc25c5f8129f57b08a2dc7c319b86778dd8a40 (patch) | |
tree | 4e21728c5dd1866f654ed88d169552a77fa6483b /activemodel/README.rdoc | |
parent | 9666b6a625c9fef555c2a18df6721fed2000f131 (diff) | |
download | rails-57bc25c5f8129f57b08a2dc7c319b86778dd8a40.tar.gz rails-57bc25c5f8129f57b08a2dc7c319b86778dd8a40.tar.bz2 rails-57bc25c5f8129f57b08a2dc7c319b86778dd8a40.zip |
Use run_callbacks; the generated _run_<name>_callbacks method is not a public interface.
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'activemodel/README.rdoc')
-rw-r--r-- | activemodel/README.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/README.rdoc b/activemodel/README.rdoc index f3d4bf8fe3..d9a9bdae3e 100644 --- a/activemodel/README.rdoc +++ b/activemodel/README.rdoc @@ -41,7 +41,7 @@ modules: define_model_callbacks :create def create - _run_create_callbacks do + run_callbacks :create do # Your create action methods here end end |