diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-05 20:44:27 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-05 20:44:27 -0300 |
commit | a48ea6800ef712440b08c551f8041feb35de8cb4 (patch) | |
tree | dba561ff73c7191912dcab28d3c8e4922b7202da /actionpack | |
parent | 393c652cf63875f2728c04d47b34b2d6ae908186 (diff) | |
download | rails-a48ea6800ef712440b08c551f8041feb35de8cb4.tar.gz rails-a48ea6800ef712440b08c551f8041feb35de8cb4.tar.bz2 rails-a48ea6800ef712440b08c551f8041feb35de8cb4.zip |
Revert "Merge pull request #6084 from brainopia/support_for_magic_domain_on_all_stores"
This reverts commit 393c652cf63875f2728c04d47b34b2d6ae908186.
This commit was supposed to fix a bug but it add more failures.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/session/abstract_store.rb | 7 | ||||
-rw-r--r-- | actionpack/test/activerecord/active_record_store_test.rb | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb b/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb index c04fee21dc..f75b4d4d04 100644 --- a/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb @@ -74,13 +74,6 @@ module ActionDispatch class AbstractStore < Rack::Session::Abstract::ID include Compatibility include StaleSessionCheck - - private - - def set_cookie(env, session_id, cookie) - request = ActionDispatch::Request.new(env) - request.cookie_jar[key] = cookie - end end end end diff --git a/actionpack/test/activerecord/active_record_store_test.rb b/actionpack/test/activerecord/active_record_store_test.rb index 6dc2eaff54..768ac713ca 100644 --- a/actionpack/test/activerecord/active_record_store_test.rb +++ b/actionpack/test/activerecord/active_record_store_test.rb @@ -256,13 +256,6 @@ class ActiveRecordStoreTest < ActionDispatch::IntegrationTest end end - def test_session_store_with_all_domains - with_test_route_set(:domain => :all) do - get '/set_session_value' - assert_response :success - end - end - private def with_test_route_set(options = {}) |