method

to_hash

rails latest stable - Class: ActiveRecord::AttributeSet

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.

to_hash()
public

No documentation available.

# File activerecord/lib/active_record/attribute_set.rb, line 24
    def to_hash
      initialized_attributes.transform_values(&:value)
    end