Skip to content

Commit a21174c

Browse files
committed
Update for Rails 7.2: config/application.rb
1 parent 543fd2f commit a21174c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

config/application.rb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,12 @@
99
module CoderdojoJp
1010
class Application < Rails::Application
1111
# Initialize configuration defaults for originally generated Rails version.
12-
# Each version's default can be checked at `config/initializers/new_framework_defaults_*.rb`
13-
config.load_defaults 7.1
14-
15-
# パフォーマンス最適化: autoloadパスを$LOAD_PATHに追加しない
16-
config.add_autoload_paths_to_load_path = false
12+
config.load_defaults 7.2
1713

1814
# Please, add to the `ignore` list any other `lib` subdirectories that do
1915
# not contain `.rb` files, or that should not be reloaded or eager loaded.
2016
# Common ones are `templates`, `generators`, or `middleware`, for example.
21-
config.autoload_lib(ignore: %w(assets tasks))
17+
config.autoload_lib(ignore: %w[assets tasks])
2218

2319
# Configuration for the application, engines, and railties goes here.
2420
#

0 commit comments

Comments
 (0)