instance method set_serialized_attributes

Ruby on Rails 3.1.12

Since v3.1.12 Last seen in v3.1.12 Private — implementation detail, not part of the public API

Signature

set_serialized_attributes()

No documentation comment.

Source
# File activerecord/lib/active_record/base.rb, line 1951
      def set_serialized_attributes
        sattrs = self.class.serialized_attributes

        sattrs.each do |key, coder|
          @attributes[key] = coder.load @attributes[key] if @attributes.key?(key)
        end
      end

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

Defined in ActiveRecord::Base

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close