| 1 | require_relative 'boot' | = | 1 | require_relative 'boot' |
| 2 | 2 | |||
| 3 | require 'rails/all' | 3 | require 'rails/all' | |
| 4 | 4 | |||
| 5 | # Require the gems listed in Gemfile, including any gems | 5 | # Require the gems listed in Gemfile, including any gems | |
| 6 | # you've limited to :test, :development, or :production. | 6 | # you've limited to :test, :development, or :production. | |
| 7 | Bundler.require(*Rails.groups) | 7 | Bundler.require(*Rails.groups) | |
| 8 | 8 | |||
| 9 | module RailsStarter | 9 | module RailsStarter | |
| 10 | class Application < Rails::Application | 10 | class Application < Rails::Application | |
| 11 | # Initialize configuration defaults for originally generated Rails version. | 11 | # Initialize configuration defaults for originally generated Rails version. | |
| 12 | config.load_defaults 6.0 | <> | 12 | config.load_defaults 6.1 |
| 13 | = | 13 | ||
| 14 | # Settings in config/environments/* take precedence over those specified here. | <> | 14 | # Configuration for the application, engines, and railties goes here. |
| 15 | # | |||
| 15 | # Application configuration can go into files in config/initializers | 16 | # These settings can be overridden in specific environments using the files | |
| 16 | # -- all .rb files in that directory are automatically loaded after loading | |||
| 17 | # the framework and any gems in your application. | 17 | # in config/environments, which are processed later. | |
| 18 | # | |||
| 19 | # config.time_zone = "Central Time (US & Canada)" | |||
| 20 | # config.eager_load_paths << Rails.root.join("extras") | |||
| 18 | end | = | 21 | end |
| 19 | end | 22 | end |