mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
update to current rack middleware stack
This commit is contained in:
parent
c46374a9d9
commit
b95aa05314
1 changed files with 6 additions and 3 deletions
|
@ -91,13 +91,15 @@ For a freshly generated Rails application, this might produce something like:
|
|||
<ruby>
|
||||
use ActionDispatch::Static
|
||||
use Rack::Lock
|
||||
use ActiveSupport::Cache::Strategy::LocalCache
|
||||
use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x000000029a0838>
|
||||
use Rack::Runtime
|
||||
use Rack::MethodOverride
|
||||
use ActionDispatch::RequestId
|
||||
use Rails::Rack::Logger
|
||||
use ActionDispatch::ShowExceptions
|
||||
use ActionDispatch::DebugExceptions
|
||||
use ActionDispatch::RemoteIp
|
||||
use Rack::Sendfile
|
||||
use ActionDispatch::Reloader
|
||||
use ActionDispatch::Callbacks
|
||||
use ActiveRecord::ConnectionAdapters::ConnectionManagement
|
||||
use ActiveRecord::QueryCache
|
||||
|
@ -105,8 +107,9 @@ use ActionDispatch::Cookies
|
|||
use ActionDispatch::Session::CookieStore
|
||||
use ActionDispatch::Flash
|
||||
use ActionDispatch::ParamsParser
|
||||
use Rack::MethodOverride
|
||||
use ActionDispatch::Head
|
||||
use Rack::ConditionalGet
|
||||
use Rack::ETag
|
||||
use ActionDispatch::BestStandardsSupport
|
||||
run Blog::Application.routes
|
||||
</ruby>
|
||||
|
|
Loading…
Reference in a new issue