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