2019-04-28 21:10:54 +03:00
|
|
|
require_relative "boot"
|
2014-07-28 12:34:18 +03:00
|
|
|
|
2019-04-28 21:10:54 +03:00
|
|
|
require "rails/all"
|
2014-07-28 12:34:18 +03:00
|
|
|
|
|
|
|
# Require the gems listed in Gemfile, including any gems
|
|
|
|
# you've limited to :test, :development, or :production.
|
|
|
|
Bundler.require(*Rails.groups)
|
|
|
|
|
|
|
|
module Clarion
|
|
|
|
class Application < Rails::Application
|
2019-04-28 02:22:59 +03:00
|
|
|
# Initialize configuration defaults for originally generated Rails version.
|
2019-04-28 12:48:45 +03:00
|
|
|
config.load_defaults 5.2
|
2019-04-28 02:22:59 +03:00
|
|
|
|
2024-02-19 22:06:16 +02:00
|
|
|
# Configuration for the application, engines, and railties goes here.
|
|
|
|
#
|
|
|
|
# These settings can be overridden in specific environments using the files
|
|
|
|
# in config/environments, which are processed later.
|
|
|
|
#
|
2019-04-28 21:10:54 +03:00
|
|
|
config.time_zone = "Sofia"
|
2024-02-19 22:06:16 +02:00
|
|
|
# config.eager_load_paths << Rails.root.join("extras")
|
2014-07-28 12:34:18 +03:00
|
|
|
|
2014-07-28 13:00:38 +03:00
|
|
|
config.i18n.available_locales = [:bg, :en]
|
|
|
|
config.i18n.default_locale = :bg
|
2014-07-28 12:58:46 +03:00
|
|
|
|
2019-04-28 12:48:45 +03:00
|
|
|
config.active_record.schema_format = :sql
|
2015-07-26 15:58:08 +03:00
|
|
|
|
2014-07-28 12:58:46 +03:00
|
|
|
config.generators do |g|
|
2024-02-19 22:06:16 +02:00
|
|
|
g.test_framework :rspec,
|
|
|
|
fixtures: true,
|
|
|
|
view_specs: false,
|
|
|
|
helper_specs: false,
|
|
|
|
routing_specs: false,
|
|
|
|
request_specs: false
|
2014-07-28 12:58:46 +03:00
|
|
|
|
2019-04-28 21:10:54 +03:00
|
|
|
g.fixture_replacement :factory_bot, dir: "spec/factories"
|
2014-07-28 12:58:46 +03:00
|
|
|
end
|
2014-07-28 12:34:18 +03:00
|
|
|
end
|
|
|
|
end
|