fixes deprecation warning relate to raise_in_transactional_callbacks
As described in http://edgeguides.rubyonrails.org/5_0_release_notes.html#active-record-notable-changes
This commit is contained in:
committed by
Julian Herrero
parent
930fc58173
commit
b7a9995b38
@@ -55,9 +55,6 @@ module Consul
|
||||
|
||||
config.assets.paths << Rails.root.join("app", "assets", "fonts")
|
||||
|
||||
# Do not swallow errors in after_commit/after_rollback callbacks.
|
||||
config.active_record.raise_in_transactional_callbacks = true
|
||||
|
||||
# Add lib to the autoload path
|
||||
config.autoload_paths << Rails.root.join("lib")
|
||||
config.time_zone = "Madrid"
|
||||
|
||||
Reference in New Issue
Block a user