Raise errors in after_ callbacks
This commit is contained in:
parent
c3f17592bc
commit
56995a8dec
|
@ -41,4 +41,7 @@ Rails.application.configure do
|
||||||
|
|
||||||
# Raises error for missing translations
|
# Raises error for missing translations
|
||||||
# config.action_view.raise_on_missing_translations = true
|
# config.action_view.raise_on_missing_translations = true
|
||||||
|
|
||||||
|
# Compatibility with a future rails version
|
||||||
|
config.active_record.raise_in_transactional_callbacks = true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue