aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHrvoje Šimić <shime.ferovac@gmail.com>2012-04-02 18:31:20 +0200
committerHrvoje Šimić <shime.ferovac@gmail.com>2012-04-02 18:31:20 +0200
commitb95aa05314e837bd25b6d1bcb9017c297cbea7f0 (patch)
tree5c5ab427b4231683693760cbd0e9cff623f913e3
parentc46374a9d949004761d71570a4d703838c694e74 (diff)
downloadrails-b95aa05314e837bd25b6d1bcb9017c297cbea7f0.tar.gz
rails-b95aa05314e837bd25b6d1bcb9017c297cbea7f0.tar.bz2
rails-b95aa05314e837bd25b6d1bcb9017c297cbea7f0.zip
update to current rack middleware stack
-rw-r--r--guides/source/rails_on_rack.textile9
1 files changed, 6 insertions, 3 deletions
diff --git a/guides/source/rails_on_rack.textile b/guides/source/rails_on_rack.textile
index 9526526bc7..f2cf224987 100644
--- a/guides/source/rails_on_rack.textile
+++ b/guides/source/rails_on_rack.textile
@@ -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>