update-attribute

what `update_attribute` return if it get failed?

Hi All, I have following piece of code @user = User.find(params[:id]) if (@user.activation_status == "active") #some code here @user.update_attribute('activation_status' ,'inactive') # Line 44 #send mail to user that his account is Acivated else end Is there any chance that Line 44 get fail because of any reason (for e...