Skip to content

Commit 9a8e99e

Browse files
Follow instructions and set legacy_connection_handling to false
1 parent 51a7889 commit 9a8e99e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

example_app_generator/spec/support/default_preview_path

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ require_file_stub 'config/environment' do
4848
if ENV['SHOW_PREVIEWS']
4949
config.action_mailer.show_previews = (ENV['SHOW_PREVIEWS'] == 'true')
5050
end
51+
52+
config.legacy_connection_handling = false if Rails::VERSION::STRING >= '7'
5153
end
5254
end
5355

0 commit comments

Comments
 (0)