Created
September 23, 2015 14:27
-
-
Save Crisfole/3b943f8b94691615ef8d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DemoController < ApplicationController | |
around_action :rollbar_scope_setup | |
private | |
def rollbar_scope_setup | |
Rollbar.scoped(setup_your_custom_stuff_here) { yield } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment