22 lines
683 B
Ruby
22 lines
683 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative "boot"
|
|
|
|
require "rails/all"
|
|
|
|
Bundler.require(*Rails.groups)
|
|
require "walter"
|
|
|
|
module Dummy
|
|
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.
|
|
|
|
# For Rails 5.2 - 6.0, we need to set this configuration
|
|
if (Rails::VERSION::MAJOR == 5 && Rails::VERSION::MINOR > 1) || (Rails::VERSION::MAJOR == 6 && Rails::VERSION::MINOR < 1)
|
|
config.active_record.sqlite3.represent_boolean_as_integer = true
|
|
end
|
|
end
|
|
end
|