Skip to content

Commit 2e3f3ce

Browse files
committed
Restore pin for Rails 7.0
1 parent 482dba2 commit 2e3f3ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example_app_generator/spec/support/default_preview_path

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ require_file_stub 'config/environment' do
5252
config.action_mailer.show_previews = (ENV['SHOW_PREVIEWS'] == 'true')
5353
end
5454

55-
config.active_record.legacy_connection_handling = false
55+
config.active_record.legacy_connection_handling = false if Rails::VERSION::STRING.start_with?('7.0')
5656
end
5757
end
5858

0 commit comments

Comments
 (0)