Merge pull request #16 from monfresh/threaded-mode

updated threaded mode to allow rake tasks
This commit is contained in:
Erik Michaels-Ober 2012-11-10 14:36:35 -08:00
commit 8c6ccc7c49
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ AdoptAThing::Application.configure do
config.action_mailer.default_url_options = {:host => 'adoptahydrant.org'}
# Enable threaded mode
config.threadsafe!
config.threadsafe! unless $rails_rake_task
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found)