Railsでこんなdeprecatedの警告が出てきたので対処方法を調べた。

[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.

対策

config.i18n.enforce_available_locales = true

でOK, `locale validation` をきちんとするなら true、どうでも良いならfalseらしい。よくわかんない。

参考

[ruby – Rails I18n validation deprecation warning – Stack Overflow][1]