Flowdock
method

serialized_attributes

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

serialized_attributes() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_methods/serialization.rb, line 55
        def serialized_attributes
          ActiveSupport::Deprecation.warn(            `serialized_attributes` is deprecated without replacement, and will            be removed in Rails 5.0..squish)

          @serialized_attributes ||= Hash[
            columns.select { |t| t.cast_type.is_a?(Type::Serialized) }.map { |c|
              [c.name, c.cast_type.coder]
            }
          ]
        end
Register or log in to add new notes.