updated threaded mode to allow rake tasks
This commit is contained in:
parent
0f0ae8ceaf
commit
01bbf63ed6
|
@ -53,7 +53,7 @@ AdoptAThing::Application.configure do
|
||||||
config.action_mailer.default_url_options = {:host => 'adoptahydrant.org'}
|
config.action_mailer.default_url_options = {:host => 'adoptahydrant.org'}
|
||||||
|
|
||||||
# Enable threaded mode
|
# Enable threaded mode
|
||||||
config.threadsafe!
|
config.threadsafe! unless $rails_rake_task
|
||||||
|
|
||||||
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
||||||
# the I18n.default_locale when a translation can not be found)
|
# the I18n.default_locale when a translation can not be found)
|
||||||
|
|
Loading…
Reference in New Issue