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 05ac431b9d7db3c9f61fa1512956e4eb7b6fa52f 1 parent 880d87f
@winton authored
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 =

2 comments on commit 05ac431

@rtomayko

That's really strange. Let me see if I can track this down upstream. It's a sign something is making bad assumptions.

@rtomayko

Merged this guy. Thanks!

Please sign in to comment.
Something went wrong with that request. Please try again.