2014-11-06 14:46:59 +01:00
|
|
|
require File.expand_path('../boot', __FILE__)
|
|
|
|
|
|
|
|
require 'rails/all'
|
|
|
|
|
|
|
|
# Require the gems listed in Gemfile, including any gems
|
|
|
|
# you've limited to :test, :development, or :production.
|
|
|
|
Bundler.require(*Rails.groups)
|
|
|
|
|
2014-11-23 21:12:31 +01:00
|
|
|
module Tab002
|
2014-11-06 14:46:59 +01:00
|
|
|
class Application < Rails::Application
|
|
|
|
# Settings in config/environments/* take precedence over those specified here.
|
|
|
|
# Application configuration should go into files in config/initializers
|
|
|
|
# -- all .rb files in that directory are automatically loaded.
|
|
|
|
|
|
|
|
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
|
|
|
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
2015-10-26 18:57:59 +01:00
|
|
|
config.time_zone = 'Brussels'
|
2014-11-06 14:46:59 +01:00
|
|
|
|
|
|
|
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
|
|
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
|
|
|
# config.i18n.default_locale = :de
|
2015-02-10 09:00:29 +01:00
|
|
|
config.active_record.raise_in_transactional_callbacks = true
|
2015-09-12 11:17:58 +02:00
|
|
|
config.active_job.queue_adapter = :delayed_job
|
2015-10-27 17:40:08 +01:00
|
|
|
config.call_api_after = 5.minutes
|
2014-11-06 14:46:59 +01:00
|
|
|
end
|
|
|
|
end
|