annotate config/application.rb @ 262:cd927bb7dc0d

Move out custom application config
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:39:38 +0900
parents e2150dce4e90
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
254
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
1 require_relative "boot"
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
148
c57e51af4692 Update with latest rails
nanaya <me@nanaya.pro>
parents: 110
diff changeset
3 require "rails"
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 # Pick the frameworks you want:
260
e2150dce4e90 Rubocop (rails) time
nanaya <me@nanaya.net>
parents: 255
diff changeset
5 # require "active_model/railtie"
148
c57e51af4692 Update with latest rails
nanaya <me@nanaya.pro>
parents: 110
diff changeset
6 # require "active_job/railtie"
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 # require "active_record/railtie"
148
c57e51af4692 Update with latest rails
nanaya <me@nanaya.pro>
parents: 110
diff changeset
8 # require "active_storage/engine"
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 require "action_controller/railtie"
1
dac0d7297388 Remove ActionMailer.
edogawaconan <me@myconan.net>
parents: 0
diff changeset
10 # require "action_mailer/railtie"
185
f67f3ad50270 Update to latest rails and gems
nanaya <me@nanaya.pro>
parents: 148
diff changeset
11 # require "action_mailbox/engine"
f67f3ad50270 Update to latest rails and gems
nanaya <me@nanaya.pro>
parents: 148
diff changeset
12 # require "action_text/engine"
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 require "action_view/railtie"
148
c57e51af4692 Update with latest rails
nanaya <me@nanaya.pro>
parents: 110
diff changeset
14 # require "action_cable/engine"
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
15 require "rails/test_unit/railtie"
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
16
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
17 # Require the gems listed in Gemfile, including any gems
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
18 # you've limited to :test, :development, or :production.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
19 Bundler.require(*Rails.groups)
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
20
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
21 module Rsstweet
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
22 class Application < Rails::Application
214
2335107f35d0 Run rails update
nanaya <me@nanaya.pro>
parents: 213
diff changeset
23 # Initialize configuration defaults for originally generated Rails version.
255
eda83610b65c Update rails and stuff
nanaya <me@nanaya.net>
parents: 254
diff changeset
24 config.load_defaults 8.0
254
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
25
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
26 # Please, add to the `ignore` list any other `lib` subdirectories that do
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
27 # not contain `.rb` files, or that should not be reloaded or eager loaded.
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
28 # Common ones are `templates`, `generators`, or `middleware`, for example.
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
29 config.autoload_lib(ignore: %w[assets tasks])
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
30
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
31 # Configuration for the application, engines, and railties goes here.
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
32 #
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
33 # These settings can be overridden in specific environments using the files
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
34 # in config/environments, which are processed later.
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
35 #
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
36 # config.time_zone = "Central Time (US & Canada)"
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 231
diff changeset
37 # config.eager_load_paths << Rails.root.join("extras")
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
38 end
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
39 end