I have a User model that has a :credits attribute. I want a simple button that will add 5 to the user\'s credits, through a route called \"add\" so that /users/3/add would ad
Rails 3.1 introduced update_column, which is the same as update_attribute, but without triggering validations or callbacks:
update_column
update_attribute
http://apidock.com/rails/ActiveRecord/Persistence/update_column