Don't raise on invalid locales
This commit is contained in:
parent
ff693d9b93
commit
eda3bf5e62
|
@ -26,6 +26,8 @@ module Justask
|
||||||
|
|
||||||
config.i18n.default_locale = "en"
|
config.i18n.default_locale = "en"
|
||||||
config.i18n.fallbacks = true
|
config.i18n.fallbacks = true
|
||||||
|
config.i18n.enforce_available_locales = false
|
||||||
|
|
||||||
|
|
||||||
# DEPRECATION WARNING: Currently, Active Record suppresses errors raised
|
# DEPRECATION WARNING: Currently, Active Record suppresses errors raised
|
||||||
# within `after_rollback`/`after_commit` callbacks and only print them to the logs.
|
# within `after_rollback`/`after_commit` callbacks and only print them to the logs.
|
||||||
|
|
Loading…
Reference in New Issue