I just updated to rails 4.0.2 and I\'m getting this warning:
[deprecated] I18n.enforce_available_locales will default to true in the future. If you re
Just for completeness, note that you can also get rid of the warning by setting I18n.enforce_available_locales
to true
(or false
) in config/application.rb
:
require File.expand_path('../boot', __FILE__)
.
.
.
module SampleApp
class Application < Rails::Application
.
.
.
I18n.enforce_available_locales = true
.
.
.
end
end