Skip to content

Instantly share code, notes, and snippets.

@tombruijn
Created August 25, 2011 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tombruijn/1170633 to your computer and use it in GitHub Desktop.
Save tombruijn/1170633 to your computer and use it in GitHub Desktop.
Spree i18n config -> When you don't want an error on db:migrate
# config/initializers/spree_config.rb
# Check if Spree::Config is loaded
# If you don't you'll get an error on migrate (the first time only)
if Spree::Config.instance
Spree::Config.set(:default_locale => "nl-NL")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment