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