src code

instance method ActiveRecord.Model#updateAttribute

ActiveRecord.Model#updateAttribute(key,value) → Boolean

Sets a given key on the object and immediately persists that change to the database triggering any callbacks or validation .