title: Rails3: Skipping callbacks from within a callback
body: <p>I have the following <code>after_save</code> callbacks defined in my model.</p>
  
  <pre><code>after_save :validate_image, :publish, :update_some_data, :send_notifications
  </code></pre>
  
  <p>Is it possible to skip rest of the <code>after_save</code> callbacks based on some condition in <code>validate_image</code>, so something like this - </p>
  
  <pre><code>def validate_image
    if image_not_valid
      # skip rest of the callbacks in the after_save chain
      destroy # destroy this record
    end
  end
  </code></pre>
  
  <p>NOTE:- I am also destroying the record based on that condition and I have some "after_destroy" callbacks that need to be executed.</p>
  
  <p>I am using Rails v3.2.6 with Mongoid v2.4.10, but I guess it wont make a difference if it was ActiveRecord.</p>