Mercurial > zeropaste
diff config/application.rb @ 459:07d6c6639adf
Upgrade to rails 5.2. RIP code style.
author | nanaya <me@nanaya.pro> |
---|---|
date | Sat, 14 Apr 2018 04:19:52 +0900 |
parents | a5eae5b07abf |
children | b1ef80121c79 |
line wrap: on
line diff
--- a/config/application.rb Sat Apr 14 04:19:29 2018 +0900 +++ b/config/application.rb Sat Apr 14 04:19:52 2018 +0900 @@ -5,9 +5,14 @@ require_relative "config_init" +require "active_model/railtie" +# require "active_job/railtie" require "active_record/railtie" +# require "active_storage/engine" require "action_controller/railtie" # require "action_mailer/railtie" +require "action_view/railtie" +# require "action_cable/engine" require "sprockets/railtie" require "rails/test_unit/railtie" @@ -58,5 +63,7 @@ config.assets.initialize_on_precompile = false config.action_view.field_error_proc = proc { |html| html } + + config.load_defaults 5.0 end end