From aa3fc592274d873306e29c11d4d91ae4e58a284f Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Wed, 31 Jan 2024 17:03:37 +0900 Subject: [PATCH] Fix an incorrect example for `Rails/ReversibleMigration` --- lib/rubocop/cop/rails/reversible_migration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rubocop/cop/rails/reversible_migration.rb b/lib/rubocop/cop/rails/reversible_migration.rb index c881797eae..7f442a1f98 100644 --- a/lib/rubocop/cop/rails/reversible_migration.rb +++ b/lib/rubocop/cop/rails/reversible_migration.rb @@ -17,7 +17,7 @@ module Rails # # good # def change # change_table :users do |t| - # t.remove :name, :string + # t.remove :name, type: :string # end # end #