Skip to content

Commit 08abd0d

Browse files
authored
Merge pull request rails#50381 from fatkodima/fix-active_record_migrations-template
Fix `guides/active_record_migrations.rb` template to use the current migrations version
2 parents d88f108 + a69228e commit 08abd0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/bug_report_templates/active_record_migrations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
class Payment < ActiveRecord::Base
3232
end
3333

34-
class ChangeAmountToAddScale < ActiveRecord::Migration[7.2]
34+
class ChangeAmountToAddScale < ActiveRecord::Migration::Current # or use a specific version via `Migration[number]`
3535
def change
3636
reversible do |dir|
3737
dir.up do

0 commit comments

Comments
 (0)