class method self.serialized_attributes

Ruby on Rails 3.0.20

Since v2.2.3 Last seen in v3.0.20

Available in: v2.2.3 v2.3.18 v3.0.20

Signature

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 557
      def serialized_attributes
        read_inheritable_attribute(:attr_serialized) or write_inheritable_attribute(:attr_serialized, {})
      end

Defined in activerecord/lib/active_record/base.rb line 557 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Base

Type at least 2 characters to search.

↑↓ navigate · open · esc close