Wednesday, May 10, 2023
HomeRuby On RailsJust How to Take care of Bed Rails 6.1 'Initialization autoloaded the...

Just How to Take care of Bed Rails 6.1 ‘Initialization autoloaded the constants’ Caution Messages


Among our customers had the Bed rails 6.1.4 variation in their Gemfile.

When running the specifications, we observed this caution message:

" DEPRECATION CAUTION: Sending out mail with DeliveryJob and also Parameterized:: DeliveryJob.
is deprecated and also will certainly be gotten rid of in Bed rails 7.0. Please utilize MailDeliveryJob rather.".

It was brought on by the application’s arrangement default still utilizing the Bed rails 5.1 variation,.
and also packing the defaults before that variation:

 # config/application. rb.
course Application < < Bed rails:: Application. config.load _ defaults 5.1 # <

RELATED ARTICLES

Most Popular

Recent Comments