method

deep_dup

rails latest stable - Class: ActiveRecord::LazyAttributeHash

Method deprecated or moved

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

deep_dup()
public

No documentation available.

# File activerecord/lib/active_record/attribute_set/builder.rb, line 47
    def deep_dup
      dup.tap do |copy|
        copy.instance_variable_set(:@delegate_hash, delegate_hash.transform_values(&:dup))
      end
    end