Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

There is one more parameter to set session in Rails 3.1 #1

Merged
merged 1 commit into from

2 participants

@janminarik

No description provided.

@nickyp nickyp merged commit a9569e4 into nickyp:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 20, 2011
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/redis-session-store.rb
View
3  lib/redis-session-store.rb
@@ -53,8 +53,7 @@ def get_session(env, sid)
[sid, session]
end
- def set_session(env, sid, session_data)
- options = env['rack.session.options']
+ def set_session(env, sid, session_data, options)
expiry = options[:expire_after] || nil
@redis.pipelined do
Something went wrong with that request. Please try again.