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
Maybe your other before_save hook should check if the user's password has actually changed before encrypting it again.