aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-05-18 03:18:23 +0200
committerJosé Valim <jose.valim@gmail.com>2010-05-18 03:18:23 +0200
commitc53683595749dcfa223802669237480ac9ebc17f (patch)
tree345687d8dba7110323f47446231954b24fab73db /activerecord
parent8e3c3b06dc8ff8842f6390efc58eaf4bb1a23060 (diff)
downloadrails-c53683595749dcfa223802669237480ac9ebc17f.tar.gz
rails-c53683595749dcfa223802669237480ac9ebc17f.tar.bz2
rails-c53683595749dcfa223802669237480ac9ebc17f.zip
Cut the fat and make session stores rely on request.cookie_jar and change set_session semantics to return the cookie value instead of a boolean.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/session_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/session_store.rb b/activerecord/lib/active_record/session_store.rb
index 9dda3361d8..931872eded 100644
--- a/activerecord/lib/active_record/session_store.rb
+++ b/activerecord/lib/active_record/session_store.rb
@@ -307,7 +307,7 @@ module ActiveRecord
end
end
- return true
+ sid
end
def get_session_model(env, sid)