application.rb 1.0 KB

12345678910111213141516171819202122232425262728
  1. require File.expand_path('../boot', __FILE__)
  2. # Pick the frameworks you want:
  3. require "active_record/railtie"
  4. require "action_controller/railtie"
  5. require "action_mailer/railtie"
  6. require "sprockets/railtie"
  7. # require "rails/test_unit/railtie"
  8. Bundler.require(*Rails.groups)
  9. require "china_city"
  10. module Dummy
  11. class Application < Rails::Application
  12. # Settings in config/environments/* take precedence over those specified here.
  13. # Application configuration should go into files in config/initializers
  14. # -- all .rb files in that directory are automatically loaded.
  15. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
  16. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
  17. # config.time_zone = 'Central Time (US & Canada)'
  18. # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
  19. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
  20. # config.i18n.default_locale = :de
  21. end
  22. end