Skip to content

Instantly share code, notes, and snippets.

@aaronjensen
Created July 16, 2012 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronjensen/3123260 to your computer and use it in GitHub Desktop.
Save aaronjensen/3123260 to your computer and use it in GitHub Desktop.
unless Rails.env.test?
Rack::MiniProfiler.config.position = 'right'
Rack::MiniProfiler.config.pre_authorize_cb = lambda {|env| true }
Rack::MiniProfiler.config.authorization_mode = :whitelist unless Rails.env.development?
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment