Skip to content
Browse files

adding episode 161

  • Loading branch information...
1 parent 2ed2ebc commit 538fe03b3a666fbfec7331f7a1b768dcfc338070 @ryanb committed May 9, 2009
Showing with 23 additions and 0 deletions.
  1. +17 −0 episode-161/README
  2. +6 −0 episode-161/middleware.rb
View
17 episode-161/README
@@ -0,0 +1,17 @@
+Railscasts Episode #161: Three Profiling Tools
+
+http://railscasts.com/episodes/161
+
+Commands
+
+ script/plugin install http://newrelic.rubyforge.org/svn/newrelic_rpm
+ sudo rake gems:install
+ script/server
+ script/plugin install git://github.com/brynary/rack-bug.git
+ mate config/initializers/middleware.rb
+
+--
+
+You can find the Rails application used in this screencast at:
+
+http://github.com/ryanb/railscasts/tree/master
View
6 episode-161/middleware.rb
@@ -0,0 +1,6 @@
+require "rack/bug"
+
+ActionController::Dispatcher.middleware.use Rack::Bug,
+ :ip_masks => [IPAddr.new("127.0.0.1")],
+ :secret_key => "epT5uCIchlsHCeR9dloOeAPG66PtHd9K8l0q9avitiaA/KUrY7DE52hD4yWY+8z1",
+ :password => "secret"

0 comments on commit 538fe03

Please sign in to comment.
Something went wrong with that request. Please try again.