Project

General

Profile

Feature #12097 » config.threadsafe-r12424.diff

Toshi MARUYAMA, 2013-12-21 03:43

View differences:

config/environments/development.rb
config.action_mailer.raise_delivery_errors = false
config.active_support.deprecation = :log
# http://hightechsorcery.com/2013/01/fixing-uninitialized-constant-errors-in-rake-tasks-when-using-rails-threadsafe-mode/
# https://github.com/resque/resque/issues/611
config.threadsafe! unless $rails_rake_task
# config.dependency_loading = true if $rails_rake_task
end
config/environments/test.rb
config.active_support.deprecation = :log
config.secret_token = 'a secret token for running the tests'
# http://hightechsorcery.com/2013/01/fixing-uninitialized-constant-errors-in-rake-tasks-when-using-rails-threadsafe-mode/
# https://github.com/resque/resque/issues/611
config.threadsafe! unless $rails_rake_task
# config.dependency_loading = true if $rails_rake_task
end
(1-1/6)