title: Understanding after_update callback in Rails 4
body: <p>I have a Rails object with <code>after_update</code> callback that sends a record to a queue. And the problem is that I noticed sometimes the queue is being processed faster than the object is actually being updated.</p>
  
  <p>My question: is <code>after_update</code> called not after the object updating ended, but when it started? What callback I need if I want to do something with it only <strong>after</strong> update is successful?</p>