# encoding: utf-8 require 'i18n' require 'uncharted/country' require 'uncharted/territory' require 'uncharted/extensions/mongoid' require 'uncharted/extensions/rails' # Load ISO 3166 country and territory lists require 'uncharted/config/countries' require 'uncharted/config/territories' # Load default locales I18n.load_path += Dir["#{File.dirname(__FILE__)}/uncharted/config/locales/*.yml"] # Use shortcut if classes are not already defined Country = Uncharted::Country unless defined?(Country) Territory = Uncharted::Territory unless defined?(Territory)