• Sean McGivern's avatar
    Fix autocomplete in EE when permissions are sent · 5c0f6c85
    Sean McGivern authored
    In EE, `@users` can be an array at the point where we remove the current
    user, because it can do a permissions check on the users for project
    mirroring.
    
    Fix this in CE by only using array methods, not AR methods. We can't use
    `delete` because that uses `Object#equal?`, which isn't true in this
    case.
    5c0f6c85
autocomplete_controller.rb 2.42 KB