From a69228efa470f9a9aa673da8b3154840841c053f Mon Sep 17 00:00:00 2001 From: fatkodima Date: Sun, 17 Dec 2023 11:36:10 +0200 Subject: [PATCH] Fix `guides/active_record_migrations.rb` template to use the current migrations version --- guides/bug_report_templates/active_record_migrations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/bug_report_templates/active_record_migrations.rb b/guides/bug_report_templates/active_record_migrations.rb index 116e7b4894..38fbb8fe95 100644 --- a/guides/bug_report_templates/active_record_migrations.rb +++ b/guides/bug_report_templates/active_record_migrations.rb @@ -31,7 +31,7 @@ class Payment < ActiveRecord::Base end -class ChangeAmountToAddScale < ActiveRecord::Migration[7.2] +class ChangeAmountToAddScale < ActiveRecord::Migration::Current # or use a specific version via `Migration[number]` def change reversible do |dir| dir.up do