2017-10-22 18:56:44 +00:00
|
|
|
require_relative 'boot'
|
|
|
|
|
|
|
|
require 'rails/all'
|
|
|
|
|
|
|
|
# Require the gems listed in Gemfile, including any gems
|
|
|
|
# you've limited to :test, :development, or :production.
|
|
|
|
Bundler.require(*Rails.groups)
|
|
|
|
|
2019-02-21 21:54:26 +00:00
|
|
|
module DVGM
|
2017-10-22 18:56:44 +00:00
|
|
|
class Application < Rails::Application
|
2019-02-21 21:54:26 +00:00
|
|
|
# Initialize configuration defaults for originally generated Rails version.
|
|
|
|
config.load_defaults 5.0
|
|
|
|
|
2019-02-22 20:43:41 +00:00
|
|
|
config.active_record.sqlite3.represent_boolean_as_integer = true
|
|
|
|
|
2017-10-22 18:56:44 +00:00
|
|
|
# Settings in config/environments/* take precedence over those specified here.
|
2019-02-21 21:54:26 +00:00
|
|
|
# Application configuration can go into files in config/initializers
|
|
|
|
# -- all .rb files in that directory are automatically loaded after loading
|
|
|
|
# the framework and any gems in your application.
|
2019-02-22 01:34:50 +00:00
|
|
|
config.report_dir = Rails.root.join("public", "reports")
|
2017-10-22 18:56:44 +00:00
|
|
|
end
|
|
|
|
end
|