Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Commit c4db921

Browse files
authored
Merge pull request #128 from zendesk/bquorning/remove-old-comment
Remove comment for pre-Rails 3.2 code
2 parents fbfc7f4 + 3f5840a commit c4db921

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/active_record_shards/migration.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ def shard(arg = nil)
8282
end
8383
end
8484

85-
# ok, so some 'splaining to do. Rails 3.1 puts the migrate() method on the instance of the
86-
# migration, where it should have been. But this makes our monkey patch incompatible.
87-
# So we're forced to *either* include or extend this.
8885
module ActualMigrationExtension
8986
def migrate_with_forced_shard(direction)
9087
if migration_shard.blank?

0 commit comments

Comments
 (0)