diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-08-06 14:50:02 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-08-06 14:54:18 -0500 |
commit | e5b1ab7cc39ff57f9789ffda75fb33f72187775d (patch) | |
tree | dd161b502ccfaca2e408779107d37386aa368103 /railties | |
parent | 73056500f88d569fa497d846dfe6b501a9e03739 (diff) | |
download | rails-e5b1ab7cc39ff57f9789ffda75fb33f72187775d.tar.gz rails-e5b1ab7cc39ff57f9789ffda75fb33f72187775d.tar.bz2 rails-e5b1ab7cc39ff57f9789ffda75fb33f72187775d.zip |
MemoryStore is the only "unsafe" store. Make it threadsafe by default.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/initializer.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index f8b3a78dff..4036b14f19 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -776,7 +776,6 @@ Run `rake gems:install` to install the missing gems. self.dependency_loading = false self.active_record.allow_concurrency = true self.action_controller.allow_concurrency = true - self.to_prepare { Rails.cache.threadsafe! } self end |