application.rb 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. #---
  2. # Excerpted from "Agile Web Development with Rails",
  3. # published by The Pragmatic Bookshelf.
  4. # Copyrights apply to this code. It may not be used to create training material,
  5. # courses, books, articles, and the like. Contact us if you are in doubt.
  6. # We make no guarantees that this code is fit for any purpose.
  7. # Visit http://www.pragmaticprogrammer.com/titles/rails4 for more book information.
  8. #---
  9. require File.expand_path('../boot', __FILE__)
  10. require 'rails/all'
  11. # Require the gems listed in Gemfile, including any gems
  12. # you've limited to :test, :development, or :production.
  13. Bundler.require(:default, Rails.env)
  14. module Depot
  15. class Application < Rails::Application
  16. # Settings in config/environments/* take precedence over those specified here.
  17. # Application configuration should go into files in config/initializers
  18. # -- all .rb files in that directory are automatically loaded.
  19. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
  20. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
  21. # config.time_zone = 'Central Time (US & Canada)'
  22. # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
  23. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
  24. # config.i18n.default_locale = :de
  25. end
  26. end