diff options
author | Nikita Afanasenko <nikita@afanasenko.name> | 2012-10-31 00:14:16 +0400 |
---|---|---|
committer | Nikita Afanasenko <nafanasenko@spbtv.com> | 2012-10-31 13:16:44 +0400 |
commit | e7e59a75aad6c52b44cd97753b3dfce216833f1f (patch) | |
tree | 2881faff3383dc4207798cded01752ff397920f2 /actionpack/lib/action_dispatch/http/rack_cache.rb | |
parent | 85039d4b75ceb41a020e2cc8e3a0f39709b1fbc4 (diff) | |
download | rails-e7e59a75aad6c52b44cd97753b3dfce216833f1f.tar.gz rails-e7e59a75aad6c52b44cd97753b3dfce216833f1f.tar.bz2 rails-e7e59a75aad6c52b44cd97753b3dfce216833f1f.zip |
Fix `attributes_before_type_cast` for serialised attributes.
Public method `attributes_before_type_cast` used to return internal AR structure (ActiveRecord::AttributeMethods::Serialization::Attribute), patch fixes this. Now behaves like `read_attribute_before_type_cast` and returns unserialised values.
Diffstat (limited to 'actionpack/lib/action_dispatch/http/rack_cache.rb')
0 files changed, 0 insertions, 0 deletions