method

marshal_load

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: LazyAttributeHash
marshal_load(values) public

No documentation

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

Hide source
# File activemodel/lib/active_model/attribute_set/builder.rb, line 82
    def marshal_load(values)
      if values.is_a?(Hash)
        empty_hash = {}.freeze
        initialize(empty_hash, empty_hash, empty_hash, empty_hash, values)
        @materialized = true
      else
        initialize(*values)
      end
    end
Register or log in to add new notes.