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 186ff95 commit f81f848Copy full SHA for f81f848
spec/dummy/config/application.rb
@@ -13,6 +13,9 @@ class Application < Rails::Application
13
# Application configuration can go into files in config/initializers
14
# -- all .rb files in that directory are automatically loaded after loading
15
# the framework and any gems in your application.
16
+
17
+ if (Rails::VERSION::MAJOR == 6 && Rails::VERSION::MINOR == 1) || Rails::VERSION::MAJOR >= 7
18
+ config.active_record.legacy_connection_handling = false
19
+ end
20
end
21
-
0 commit comments