Skip to content

Commit

Permalink
Fix wrong method name in example: within_in_batches -> in_batches
Browse files Browse the repository at this point in the history
  • Loading branch information
r7kamura committed Jan 27, 2024
1 parent 5a320f2 commit 0700796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/migration/batch_in_batches.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Migration
# disable_ddl_transaction!
#
# def up
# User.within_in_batches do |relation|
# User.in_batches do |relation|
# relation.update_all(some_column: 'some value')
# end
# end
Expand Down

0 comments on commit 0700796

Please sign in to comment.