tap/config/application.rb

28 lines
1.1 KiB
Ruby
Raw Normal View History

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
config.active_job.queue_adapter = :delayed_job
config.call_api_after = 5.minutes
2017-10-13 17:24:01 +02:00
config.frecency_num_orders = 25
2014-11-06 14:46:59 +01:00
end
end