aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@envy8-2.local>2008-04-29 16:43:47 -0500
committerDavid Heinemeier Hansson <david@envy8-2.local>2008-04-29 16:43:47 -0500
commit5514baf63d6d5e19a84c59a0c2cf74f442daed9c (patch)
treeecde263c340d9fdbcf0f3ba9d9276e38f7fbfb96 /actionpack
parent0780563ae7b2df74613550f1438d13459cb10b1f (diff)
parent5be53058775a1482c1e5655dcb0ca4430cf0dbe1 (diff)
downloadrails-5514baf63d6d5e19a84c59a0c2cf74f442daed9c.tar.gz
rails-5514baf63d6d5e19a84c59a0c2cf74f442daed9c.tar.bz2
rails-5514baf63d6d5e19a84c59a0c2cf74f442daed9c.zip
Merge branch 'master' of git@github.com:rails/rails
Diffstat (limited to 'actionpack')
-rwxr-xr-xactionpack/lib/action_controller/base.rb7
-rw-r--r--actionpack/test/controller/session/mem_cache_store_test.rb5
2 files changed, 6 insertions, 6 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 0c0d0ec4ac..3322a41299 100755
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -277,9 +277,10 @@ module ActionController #:nodoc:
@@debug_routes = true
cattr_accessor :debug_routes
- # Controls whether the application is thread-safe, so multi-threaded servers like WEBrick know whether to apply a mutex
- # around the performance of each action. Action Pack and Active Record are by default thread-safe, but many applications
- # may not be. Turned off by default.
+ # Indicates to Mongrel or Webrick whether to allow concurrent action
+ # processing. Your controller actions and any other code they call must
+ # also behave well when called from concurrent threads. Turned off by
+ # default.
@@allow_concurrency = false
cattr_accessor :allow_concurrency
diff --git a/actionpack/test/controller/session/mem_cache_store_test.rb b/actionpack/test/controller/session/mem_cache_store_test.rb
index df48e6d9c5..a7d48431f8 100644
--- a/actionpack/test/controller/session/mem_cache_store_test.rb
+++ b/actionpack/test/controller/session/mem_cache_store_test.rb
@@ -62,9 +62,8 @@ class MemCacheStoreTest < Test::Unit::TestCase
assert_equal d, s.cache.get(session_key)[:test]
assert_equal d, s[:test]
end
- end
-
-
+ end
+
def test_deletion
new_session do |s|
session_key = 'session:' + s.session_id