title: Does after_commit actually run?
body: <p>I'm on rails 3.0.8 and trying to use the after_commit callback.</p>
  
  <p>It's defined here: <a href="https://github.com/rails/rails/blob/v3.0.8/activerecord/lib/active_record/transactions.rb#L210" rel="nofollow">https://github.com/rails/rails/blob/v3.0.8/activerecord/lib/active_record/transactions.rb#L210</a></p>
  
  <p>It's mentioned as one of the callbacks here: <a href="https://github.com/rails/rails/blob/v3.0.8/activerecord/lib/active_record/callbacks.rb#L22" rel="nofollow">https://github.com/rails/rails/blob/v3.0.8/activerecord/lib/active_record/callbacks.rb#L22</a></p>
  
  <p>Consider this:</p>
  
  <pre><code>class Car &lt; ActiveRecord::Base
    after_commit do
      # this doesn't execute
    end
  
    after_commit :please_run
    def please_run
      # nor does this
    end
  end
  </code></pre>
  
  <p>Any ideas why it doesn't work? I assume I'm using it correctly.</p>