Don't raise on invalid locales

This commit is contained in:
Yuki 2015-05-27 07:13:33 +05:30
parent ff693d9b93
commit eda3bf5e62
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ module Justask
config.i18n.default_locale = "en"
config.i18n.fallbacks = true
config.i18n.enforce_available_locales = false
# DEPRECATION WARNING: Currently, Active Record suppresses errors raised
# within `after_rollback`/`after_commit` callbacks and only print them to the logs.