plataformatec/has_scope — pull request #56 by printercu (2014-05-08 11:40:40+00:00)
Title: Execute blocks in controller's context

It includes changes from #55. Check the last commit please.

It uses `instance_exec`, i'm not sure it's supported by ruby 1.8.

It also breaks backward compatibility, but i think this way is more expectable, just like any controller filter.