README.md in rack-insight-0.5.11 vs README.md in rack-insight-0.5.12
- old
+ new
@@ -75,11 +75,11 @@
If you wish to use the logger panel define the LOGGER constant that is a ruby
Logger or ActiveSupport::BufferedLogger
Configure Rack::Insight
-----------------------
+---------------------
Pattern:
Rack::Insight::Config.configure do |config|
config[:option] = value
@@ -103,12 +103,12 @@
:debug, :high, :med, :low, :silent
:panel_load_paths => [File::join('rack', 'insight', 'panels')] (default)
See *Configuring custom panels* section for example usage
-Configuring custom panels
--------------------------
+Configure Middleware
+--------------------
Specify the set of panels you want, in the order you want them to appear:
require "rack-insight"
@@ -149,11 +149,11 @@
# with Example #2 from above, will try to render 'custom/panels/thunder_panel/views/thor.html.erb'
render_template 'thunder_panel/views/thor'
Running Rack::Insight in staging or production
-------------------------------------------
+----------------------------------------------
We have have found that Rack::Insight is fast enough to run in production for specific troubleshooting efforts.
### Configuration ####
@@ -172,9 +172,10 @@
Restrict access using a password:
ActionController::Dispatcher.middleware.use "Rack::Insight::App",
:secret_key => "someverylongandveryhardtoguesspreferablyrandomstring",
+ :ip_masks => false # Default is 127.0.0.1
:password => "yourpassword"
#### custom file path for the logging database ####
Logical Rack::Insight uses SQLite to store data from requests, and outputs a database