Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Kenneth Lewis's Profile

GitHub User: lewisenator

Site: http://www.lewisenator.com

Comments by Kenneth Lewis

Avatar

In order for authorize_request and deauthorize_request to work, you have to set the authorize mode to whitelist.

application.rb
Rack::MiniProfiler.config.authorization_mode = :whitelist