comparison config/application.rb @ 485:6cac8fcf8164

Update to rails 7 (and ruby 3.1)
author nanaya <me@nanaya.pro>
date Sat, 15 Jan 2022 02:07:02 +0900
parents fd3078b4d355
children 92929378413e
comparison
equal deleted inserted replaced
484:84ca55a0568e 485:6cac8fcf8164
21 # If you want your assets lazily compiled in production, use this line 21 # If you want your assets lazily compiled in production, use this line
22 # Bundler.require(:default, :assets, Rails.env) 22 # Bundler.require(:default, :assets, Rails.env)
23 23
24 module Zeropaste 24 module Zeropaste
25 class Application < Rails::Application 25 class Application < Rails::Application
26 config.load_defaults 7.0
26 # Settings in config/environments/* take precedence over those specified here. 27 # Settings in config/environments/* take precedence over those specified here.
27 # Application configuration should go into files in config/initializers 28 # Application configuration should go into files in config/initializers
28 # -- all .rb files in that directory are automatically loaded. 29 # -- all .rb files in that directory are automatically loaded.
29 30
30 # Custom directories with classes and modules you want to be autoloadable. 31 # Custom directories with classes and modules you want to be autoloadable.