diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-06-02 13:51:05 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-06-02 13:51:05 -0600 |
commit | 032a8d9dc95f40581d8cbda2c297b50edaa44e6f (patch) | |
tree | 27b530f11b83d3d3c7566777fa14477fed53bcdd /activerecord/lib/active_record/model_schema.rb | |
parent | b5d53f864826c7ce88af0d8b9a9ff45f95956f6b (diff) | |
download | rails-032a8d9dc95f40581d8cbda2c297b50edaa44e6f.tar.gz rails-032a8d9dc95f40581d8cbda2c297b50edaa44e6f.tar.bz2 rails-032a8d9dc95f40581d8cbda2c297b50edaa44e6f.zip |
Remove unused `initialize_attributes` method
This was previously a hook for a special case related to `serialize`,
which has since been removed.
Diffstat (limited to 'activerecord/lib/active_record/model_schema.rb')
-rw-r--r-- | activerecord/lib/active_record/model_schema.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/model_schema.rb b/activerecord/lib/active_record/model_schema.rb index ad6428d8a8..f0ddf202c3 100644 --- a/activerecord/lib/active_record/model_schema.rb +++ b/activerecord/lib/active_record/model_schema.rb @@ -295,13 +295,6 @@ module ActiveRecord @cached_time_zone = nil end - # This is a hook for use by modules that need to do extra stuff to - # attributes when they are initialized. (e.g. attribute - # serialization) - def initialize_attributes(attributes, options = {}) #:nodoc: - attributes - end - private # Guesses the table name, but does not decorate it with prefix and suffix information. |