src code

instance method ActiveRecord.Model#updateAttributes

ActiveRecord.Model#updateAttributes(attributes) → Boolean

Updates all of the passed attributes on the record and then calls save().