• Timothy Andrew's avatar
    Implement review comments from @DouweM and @nick.thomas. · 53c34c74
    Timothy Andrew authored
    1. Use an advisory lock to guarantee the absence of concurrency in `User.ghost`,
    to prevent data races from creating more than one ghost, or preventing the
    creation of ghost users by causing validation errors.
    
    2. Use `update_all` instead of updating issues one-by-one.
    53c34c74
user.rb 30.8 KB