Created
September 11, 2013 19:18
-
-
Save hugomaiavieira/6528428 to your computer and use it in GitHub Desktop.
mini-profiler config
This file contains 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
# Whether or not you want to log the queries about the schema of your tables. | |
# Default is 'false', 'true' in rails development. | |
Rack::MiniProfiler.config.skip_schema_queries = false | |
# Have Mini Profiler start in hidden mode - display with short cut. Defaulted to | |
# 'Alt+P' | |
Rack::MiniProfiler.config.start_hidden = true | |
# If whant to use on production, comment this. | |
if Rails.env.production? | |
Rack::MiniProfiler.config.auto_inject = false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment