• Timothy Andrew's avatar
    Implement review comments from @DouweM for !10467. · 1c42505b
    Timothy Andrew authored
    1. Have `MigrateToGhostUser` be a service rather than a mixed-in module, to keep
       things explicit. Specs testing the behavior of this class are moved into a
       separate service spec file.
    
    2. Add a `user.reported_abuse_reports` association to make the
       `migrate_abuse_reports` method more consistent with the other `migrate_`
       methods.
    1c42505b
user.rb 31.6 KB