Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Maintain reference to the environment so Rails rack variables don't g…

…et removed
  • Loading branch information...
commit a1097516d633d7319ffb9da0976f6c80387939aa 1 parent 58b98ac
@winton winton authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rack/cache/context.rb
View
2  lib/rack/cache/context.rb
@@ -55,7 +55,7 @@ def call(env)
# the context of the receiver.
def call!(env)
@trace = []
- @env = @default_options.merge(env)
+ @env = env.merge!(@default_options.merge(env))
@request = Request.new(@env.dup.freeze)
response =
Please sign in to comment.
Something went wrong with that request. Please try again.