Sha256: 185261904f20f60ee7354ed18aed4bc428fc1940e9f975d3f7fa5f6ceaac4287
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
require "rails/all" require "clearance" module Dummy APP_ROOT = File.expand_path("..", __FILE__).freeze class Application < Rails::Application config.action_controller.perform_caching = false config.action_mailer.default_url_options = { host: "dummy.example.com" } config.action_mailer.delivery_method = :test if Rails.version.match?(/(6.1|7.0)/) config.active_record.legacy_connection_handling = false end config.active_support.deprecation = :stderr config.eager_load = false config.paths["app/controllers"] << "#{APP_ROOT}/app/controllers" config.paths["app/models"] << "#{APP_ROOT}/app/models" config.paths["app/views"] << "#{APP_ROOT}/app/views" config.paths["config/database"] = "#{APP_ROOT}/config/database.yml" config.paths["log"] = "tmp/log/development.log" config.paths.add "config/routes.rb", with: "#{APP_ROOT}/config/routes.rb" def require_environment! initialize! end def initialize!(&block) super unless @initialized end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clearance-2.8.0 | spec/dummy/application.rb |