Updating model bypasses callbacks


Very quickly, I’m having trouble calling my before_save ro before_update
callbacks when I do something like User.update(id, params[“user”]). I
notice that Rails is calling after_save but for some reason it doesn’t
call the before_save or before_update callbacks. Any thoughts would be


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs