residency/config/application.rb

45 lines
1.4 KiB
Ruby
Raw Normal View History

2022-11-21 11:10:04 +01:00
require_relative "boot"
require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
require "active_job/railtie"
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
#require "active_storage/engine"
2022-11-21 11:10:04 +01:00
# require "action_mailbox/engine"
#require "action_text/engine"
2022-11-21 11:10:04 +01:00
require "action_view/railtie"
# require "action_cable/engine"
require "rails/test_unit/railtie"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
2023-01-28 22:01:06 +01:00
module Residency
2022-11-21 11:10:04 +01:00
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.0
config.hosts << "green-machine.local" #our "staging"
2023-01-28 21:53:17 +01:00
config.hosts << "residency.hubfeenix.fi" #production
2023-01-24 21:28:18 +01:00
config.active_job.queue_adapter = :sucker_punch
2022-11-21 11:10:04 +01: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.
#
# config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")
2022-12-26 20:03:05 +01:00
#config.autoload_paths << Rails.root.join('lib')
2022-12-24 14:07:25 +01:00
2022-11-21 11:10:04 +01:00
end
end
2022-12-25 22:32:34 +01:00
ActionView::Base.default_form_builder = SimpleForm::Tailwind::FormBuilder