diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-09-06 22:31:57 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 22:31:57 +0530 |
commit | 0c91b166e612d8dba0ededec99cfb39b85d31fbb (patch) | |
tree | 4f4dfb81b3b9976c0342dfe6d1aa8cba6b02244e /activesupport/lib/active_support | |
parent | 1722397f9a63f74bc7ff633895aec7109568a25b (diff) | |
parent | b9e98d62c24b04937a219285aef69c2a8344beab (diff) | |
download | rails-0c91b166e612d8dba0ededec99cfb39b85d31fbb.tar.gz rails-0c91b166e612d8dba0ededec99cfb39b85d31fbb.tar.bz2 rails-0c91b166e612d8dba0ededec99cfb39b85d31fbb.zip |
Merge pull request #26408 from tricknotes/bye-mongrel-from-docs
Remove the word "mongrel" from documents [ci skip]
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/backtrace_cleaner.rb | 6 | ||||
-rw-r--r-- | activesupport/lib/active_support/cache/memory_store.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/backtrace_cleaner.rb b/activesupport/lib/active_support/backtrace_cleaner.rb index e161ec4cca..169a58ecd1 100644 --- a/activesupport/lib/active_support/backtrace_cleaner.rb +++ b/activesupport/lib/active_support/backtrace_cleaner.rb @@ -14,7 +14,7 @@ module ActiveSupport # # bc = BacktraceCleaner.new # bc.add_filter { |line| line.gsub(Rails.root.to_s, '') } # strip the Rails.root prefix - # bc.add_silencer { |line| line =~ /mongrel|rubygems/ } # skip any lines from mongrel or rubygems + # bc.add_silencer { |line| line =~ /puma|rubygems/ } # skip any lines from puma or rubygems # bc.clean(exception.backtrace) # perform the cleanup # # To reconfigure an existing BacktraceCleaner (like the default one in Rails) @@ -59,8 +59,8 @@ module ActiveSupport # Adds a silencer from the block provided. If the silencer returns +true+ # for a given line, it will be excluded from the clean backtrace. # - # # Will reject all lines that include the word "mongrel", like "/gems/mongrel/server.rb" or "/app/my_mongrel_server/rb" - # backtrace_cleaner.add_silencer { |line| line =~ /mongrel/ } + # # Will reject all lines that include the word "puma", like "/gems/puma/server.rb" or "/app/my_puma_server/rb" + # backtrace_cleaner.add_silencer { |line| line =~ /puma/ } def add_silencer(&block) @silencers << block end diff --git a/activesupport/lib/active_support/cache/memory_store.rb b/activesupport/lib/active_support/cache/memory_store.rb index dbe55d7ce1..1a8477f9fe 100644 --- a/activesupport/lib/active_support/cache/memory_store.rb +++ b/activesupport/lib/active_support/cache/memory_store.rb @@ -4,7 +4,7 @@ module ActiveSupport module Cache # A cache store implementation which stores everything into memory in the # same process. If you're running multiple Ruby on Rails server processes - # (which is the case if you're using mongrel_cluster or Phusion Passenger), + # (which is the case if you're using Phusion Passenger or puma clustered mode), # then this means that Rails server process instances won't be able # to share cache data with each other and this may not be the most # appropriate cache in that scenario. |