method

key?

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.

key?(name)
public

No documentation available.

# File activerecord/lib/active_record/attribute_set.rb, line 29
    def key?(name)
      attributes.key?(name) && self[name].initialized?
    end