Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

35 Zeilen
1.3KB

  1. require File.expand_path('../boot', __FILE__)
  2. require 'rails/all'
  3. # Require the gems listed in Gemfile, including any gems
  4. # you've limited to :test, :development, or :production.
  5. groups = Rails.groups
  6. unless Rails.env == 'production'
  7. groups << :assets
  8. Rails.env = 'production' if Rails.env == 'staging'
  9. end
  10. Bundler.require(*groups)
  11. module CryptcheckRails
  12. class Application < Rails::Application
  13. # Settings in config/environments/* take precedence over those specified here.
  14. # Application configuration should go into files in config/initializers
  15. # -- all .rb files in that directory are automatically loaded.
  16. config.autoload_paths += %W(#{config.root}/lib)
  17. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
  18. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
  19. # config.time_zone = 'Central Time (US & Canada)'
  20. # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
  21. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
  22. config.i18n.default_locale = :fr
  23. # Do not swallow errors in after_commit/after_rollback callbacks.
  24. config.active_record.raise_in_transactional_callbacks = true
  25. config.refresh_delay = 1.hour
  26. end
  27. end