Skip to content

Commit

Permalink
Include Rack in the server noise
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Nov 29, 2008
1 parent 50f4286 commit 1e8f963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/lib/rails/backtrace_cleaner.rb
Expand Up @@ -3,11 +3,11 @@ class BacktraceCleaner < ActiveSupport::BacktraceCleaner
ERB_METHOD_SIG = /:in `_run_erb_.*/

VENDOR_DIRS = %w( vendor/plugins vendor/gems vendor/rails )
MONGREL_DIRS = %w( lib/mongrel bin/mongrel )
SERVER_DIRS = %w( lib/mongrel bin/mongrel lib/rack )
RAILS_NOISE = %w( script/server )
RUBY_NOISE = %w( rubygems/custom_require benchmark.rb )

ALL_NOISE = VENDOR_DIRS + MONGREL_DIRS + RAILS_NOISE + RUBY_NOISE
ALL_NOISE = VENDOR_DIRS + SERVER_DIRS + RAILS_NOISE + RUBY_NOISE

def initialize
super
Expand Down

0 comments on commit 1e8f963

Please sign in to comment.