instance method serialized_attributes

Ruby on Rails 4.0.13

Since v4.0.13 Last seen in v4.0.13

Signature

serialized_attributes()

DEPRECATED: Use ActiveRecord::AttributeMethods::Serialization::ClassMethods#serialized_attributes class level method instead.

Source
# File activerecord/lib/active_record/attribute_methods/serialization.rb, line 65
      def serialized_attributes
        message = "Instance level serialized_attributes method is deprecated, please use class level method."
        ActiveSupport::Deprecation.warn message
        defined?(@serialized_attributes) ? @serialized_attributes : self.class.serialized_attributes
      end

Defined in activerecord/lib/active_record/attribute_methods/serialization.rb line 65 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::AttributeMethods::Serialization

Type at least 2 characters to search.

↑↓ navigate · open · esc close