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 /activerecord | |
parent | 838d30f182b1fa0cabd977e98fc47b4adb2064e4 (diff) | |
download | rails-19357a7b023fd56a5b381cd8894bb520c60cdb59.tar.gz rails-19357a7b023fd56a5b381cd8894bb520c60cdb59.tar.bz2 rails-19357a7b023fd56a5b381cd8894bb520c60cdb59.zip |
AS::Callbacks: remove unused runner
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/core.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index 89f6eccbd2..22574c4ce7 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -210,7 +210,7 @@ module ActiveRecord @attributes = cloned_attributes - _run_initialize_callbacks if _initialize_callbacks.any? + run_callbacks(:initialize) if _initialize_callbacks.any? @changed_attributes = {} self.class.column_defaults.each do |attr, orig_value| |