Lesson4

completed task #4
:) ну... да... да... Сенсей прав! Я упрямец и глупец)))
update_attribute(name, value) public
Updates a single attribute and saves the record without going through the normal validation procedure. This is especially useful for boolean flags on existing records. The regular update_attribute method in Base is replaced with this when the validations module is mixed in, which it is by default.
http://apidock.com/rails/ActiveRecord/Persistence/update_attribute
http://apidock.com/rails/ActiveRecord/Base/update_attribute
http://stackoverflow.com/questions/2778522/rails-update-attribute-vs-update-attributes