We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cdfaf5 commit 53d9e17Copy full SHA for 53d9e17
lib/spring/application.rb
@@ -100,6 +100,7 @@ def preload
100
# override the effect of config.cache_classes = true. We can then actually
101
# set config.cache_classes = false after loading the environment.
102
Rails::Application.initializer :initialize_dependency_mechanism, group: :all do
103
+ # Rails 7 dropped classic mode, and this setter does not exist anymore.
104
if ActiveSupport::Dependencies.respond_to?(:mechanism=)
105
ActiveSupport::Dependencies.mechanism = :load
106
end
0 commit comments