# File lib/active_record/base.rb, line 2381 def attributes self.attribute_names.inject({}) do |attrs, name| attrs[name] = read_attribute(name) attrs end end