instance method deserialize_attribute_values

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

deserialize_attribute_values(serialized)

No documentation comment.

Parameters

serialized req
Source
# File activejob/lib/active_job/attributes.rb, line 67
      def deserialize_attribute_values(serialized)
        values = Arguments.deserialize([serialized]).first
        values.each do |name, value|
          name = name.to_s
          @attributes.write_cast_value(name, value) if self.class.attribute_types.key?(name)
        end
      end

Defined in activejob/lib/active_job/attributes.rb line 67 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveJob::Attributes

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