practice doing this
at main 992 B view raw
1require_relative "boot" 2 3require "rails/all" 4 5# Require the gems listed in Gemfile, including any gems 6# you've limited to :test, :development, or :production. 7Bundler.require(*Rails.groups) 8 9module Practice 10 class Application < Rails::Application 11 # Initialize configuration defaults for originally generated Rails version. 12 config.load_defaults 8.1 13 14 # Please, add to the `ignore` list any other `lib` subdirectories that do 15 # not contain `.rb` files, or that should not be reloaded or eager loaded. 16 # Common ones are `templates`, `generators`, or `middleware`, for example. 17 config.autoload_lib(ignore: %w[assets tasks]) 18 19 # Configuration for the application, engines, and railties goes here. 20 # 21 # These settings can be overridden in specific environments using the files 22 # in config/environments, which are processed later. 23 # 24 # config.time_zone = "Central Time (US & Canada)" 25 # config.eager_load_paths << Rails.root.join("extras") 26 end 27end