# File lib/active_record/base.rb, line 1178 def update_attributes(attributes) self.attributes = attributes save end