зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-08-31 16:56:17 +03:00
24 строки
550 B
Ruby
24 строки
550 B
Ruby
require_relative 'boot'
|
|
|
|
require 'rails/all'
|
|
|
|
Bundler.require(*Rails.groups)
|
|
|
|
module Dummy
|
|
class Application < Rails::Application
|
|
config.load_defaults Rails::VERSION::STRING.to_f
|
|
|
|
config.active_support.deprecation = :raise
|
|
|
|
if Gem::Version.new(Rails.version) < Gem::Version.new('7.1')
|
|
config.active_record.legacy_connection_handling = false
|
|
end
|
|
|
|
if Gem::Version.new(Rails.version) > Gem::Version.new('7.0')
|
|
config.before_configuration do
|
|
ActiveSupport::Cache.format_version = 7.0
|
|
end
|
|
end
|
|
end
|
|
end
|