diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-06-23 14:32:18 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-06-23 14:32:18 +0200 |
commit | 8a6b8c8a7991796ae961db2be0b0f683a1c1efc6 (patch) | |
tree | d126dee344c780282d09981cd69317bef464bb3c /activerecord/lib/active_record/store.rb | |
parent | 04b6ae4d186195008b7801df19ebba295f042288 (diff) | |
parent | 821adfaadf7fe9309d39bb520e7a74f308bbcd8d (diff) | |
download | rails-8a6b8c8a7991796ae961db2be0b0f683a1c1efc6.tar.gz rails-8a6b8c8a7991796ae961db2be0b0f683a1c1efc6.tar.bz2 rails-8a6b8c8a7991796ae961db2be0b0f683a1c1efc6.zip |
Merge pull request #15867 from sgrif/sg-rm-column-types
Remove unneeded `@column_types` instance variable
Diffstat (limited to 'activerecord/lib/active_record/store.rb')
-rw-r--r-- | activerecord/lib/active_record/store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/store.rb b/activerecord/lib/active_record/store.rb index 7014bc6d45..219e19dbb8 100644 --- a/activerecord/lib/active_record/store.rb +++ b/activerecord/lib/active_record/store.rb @@ -129,7 +129,7 @@ module ActiveRecord private def store_accessor_for(store_attribute) - @column_types[store_attribute.to_s].accessor + type_for_attribute(store_attribute.to_s).accessor end class HashAccessor |