class method
self.serialized_attributes
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v3.0.20Signature
self.serialized_attributes()
Returns a hash of all the attributes that have been specified for serialization as keys and their class restriction as values.
Source
# File activerecord/lib/active_record/base.rb, line 1044
def serialized_attributes
read_inheritable_attribute(:attr_serialized) or write_inheritable_attribute(:attr_serialized, {})
end
Defined in activerecord/lib/active_record/base.rb line 1044
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Base