Skip to content

Instantly share code, notes, and snippets.

@bricker
Created December 3, 2013 19:51
Show Gist options
  • Save bricker/7776307 to your computer and use it in GitHub Desktop.
Save bricker/7776307 to your computer and use it in GitHub Desktop.
[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.
@aprescott
Copy link

@peterkovacs at least on Rails 4.0.2, I think you need I18n.config.enforce_available_locales = {true,false}, with the .config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment