method

attribute_method?

attribute_method?(attr_name)
protected

No documentation available.

# File activerecord/lib/active_record/attribute_methods.rb, line 389
    def attribute_method?(attr_name) # :nodoc:
      # We check defined? because Syck calls respond_to? before actually calling initialize.
      defined?(@attributes) && @attributes.key?(attr_name)
    end