Module: ActiveRecord::AttributeMethods::Serialization
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_record/attribute_methods/serialization.rb
Defined Under Namespace
Modules: Behavior, ClassMethods Classes: Attribute, Type
Instance Method Summary collapse
-
#serialized_attributes ⇒ Object
DEPRECATED: Use ActiveRecord::AttributeMethods::Serialization::ClassMethods#serialized_attributes class level method instead.
Instance Method Details
#serialized_attributes ⇒ Object
DEPRECATED: Use ActiveRecord::AttributeMethods::Serialization::ClassMethods#serialized_attributes class level method instead.
54 55 56 57 58 |
# File 'lib/active_record/attribute_methods/serialization.rb', line 54 def serialized_attributes = "Instance level serialized_attributes method is deprecated, please use class level method." ActiveSupport::Deprecation.warn defined?(@serialized_attributes) ? @serialized_attributes : self.class.serialized_attributes end |