title: Ruby on Rails Inline around_save Callback Yields a LocalJumpError
body: <p>In Rails 3.0.5 &amp; Ruby 1.9.3, is it possible to define the body of an <code>around_save</code> callback inline with the <code>around_save</code> declaration?</p>
  
  <p>That is, I've noticed that this case works properly:</p>
  
  <pre><code>around_save :around_save_body
  def around_save_body
    puts 'before save'
    yield 
    puts 'after save'
  end
  
  [114] pry(main)&gt; a = Activity.find(57)
  =&gt; #&lt;Activity id: 57, ... &gt;
  
  [115] pry(main)&gt; a.save
  before save
  after save
  =&gt; true
  </code></pre>
  
  <p>Whereas if I put the body inline, I get a LocalJumpError:</p>
  
  <pre><code>around_save do |activity|
    puts 'before save'
    yield 
    puts 'after save'
  end
  
  [117] pry(main)&gt; a = Activity.find(57)
  =&gt; #&lt;Activity id: 57, ... &gt;
  
  [118] pry(main)&gt; a.save
  before save
  LocalJumpError: no block given (yield)
  from /home/maksim/hkn/website/app/models/activity.rb:47:in `block in &lt;class:Activity&gt;'
  </code></pre>
  
  <p>I tried changing <code>yield</code> to <code>yield activity</code> in the second example, but I got the same result. Is it possible to have my <code>around_save</code> body be inline with the <code>around_save</code> declaration?</p>