Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class FakeUser
- def check_for_access
- return true
- end
- end
- class NewrelicController < ActionController::Base
- prepend_before_filter :setup_fake_user
- def setup_fake_user
- @logged_in_user = FakeUser.new
- end
- ...
Add Comment
Please, Sign In to add comment