Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647require_relative "boot"
require "rails/all"
# Require the gems listed in Gemfile, including any gems# you've limited to :test, :development, or :production.Bundler.require(*Rails.groups)
module SplitsIO class Application < Rails::Application # 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. # # config.time_zone = "Central Time (US & Canada)" # config.eager_load_paths << Rails.root.join("extras")
# Initialize configuration defaults for originally generated Rails version. config.load_defaults 6.0
config.autoload_paths << Rails.root.join("lib") config.eager_load_paths << Rails.root.join("lib")
config.action_controller.allow_forgery_protection = false config.active_job.queue_adapter = :delayed_job
config.generators do |g| g.orm :active_record, primary_key_type: :uuid end
config.to_prepare do Doorkeeper::AuthorizationsController.layout "application" end
config.action_cable.disable_request_forgery_protection = true config.action_cable.url = "/api/cable" config.action_cable.mount_path = "/api/cable"
config.active_storage.variant_processor = :vips
# Help detect n+1 queries, # but get out of the way in the Rails console. config.active_record.strict_loading_by_default = !Rails.const_defined?('Console') endend