Remove Rails Deprecation

ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement
This commit is contained in:
Simon Lehericey 2017-02-21 10:53:09 +01:00
parent ec55c48ef4
commit 254c2319e9

View file

@ -25,9 +25,6 @@ module TPS
config.assets.paths << Rails.root.join('app', 'assets', 'javascript')
config.assets.precompile += %w( application_split2.css )
# Do not swallow errors in after_commit/after_rollback callbacks.
config.active_record.raise_in_transactional_callbacks = true
if Rails.env.production?
URL = "https://tps.apientreprise.fr/"
elsif Rails.env.staging?