clarion/config/application.rb

44 lines
1.3 KiB
Ruby
Raw Permalink Normal View History

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.
config.load_defaults 7.1
2019-04-28 02:22:59 +03:00
2024-02-19 22:21:40 +02:00
# Please, add to the `ignore` list any other `lib` subdirectories that do
# not contain `.rb` files, or that should not be reloaded or eager loaded.
# Common ones are `templates`, `generators`, or `middleware`, for example.
config.autoload_lib(ignore: %w(assets tasks))
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
config.active_record.schema_format = :sql
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
2019-04-28 21:10:54 +03:00
g.fixture_replacement :factory_bot, dir: "spec/factories"
end
2014-07-28 12:34:18 +03:00
end
end