I want to wrap my action in this around_action
:
around_action { do_stuff("foo") }
My around_action
looks like this:
def do_stuff(arg)
some_block do
Rails.logger.error "arg: #{arg}"
yield
end
end
But this raises a LocalJumpError no block given (yield)
. What am I doing wrong?