Browse files

Enable threadsafe! by default

No one uses thread-safe mode because it's disabled by default
This makes thread-safe mode configuration over convention

If thread-safe mode were the happy path, more people would use it
  • Loading branch information...
1 parent 41d6371 commit 9b51d5fd123acea8636824324de9cb76eb4c9869 @tarcieri committed Jun 8, 2012
View
2 railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
@@ -56,7 +56,7 @@
# config.action_mailer.raise_delivery_errors = false
# Enable threaded mode.
- # config.threadsafe!
+ config.threadsafe!
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found).

0 comments on commit 9b51d5f

Please sign in to comment.