# File activerecord/lib/active_record/core.rb, line 444def inspect# We check defined?(@attributes) not to issue warnings if the object is# allocated but not initialized.inspection=ifdefined?(@attributes)&&@attributesself.class.column_names.collect{|name|ifhas_attribute?(name)"#{name}: #{attribute_for_inspect(name)}"end}.compact.join(", ")else"not initialized"end"#<#{self.class}#{inspection}>"end