# File lib/active_record/base.rb, line 2417 def has_attribute?(attr_name) @attributes.has_key?(attr_name.to_s) end