• Yorick Peterse's avatar
    Use SQL::Union for User#authorized_projects · 028bd227
    Yorick Peterse authored
    This allows retrieving of the list of authorized projects using a single
    query, without having to load any IDs into Ruby. This in turn also means
    we can remove the method User#authorized_projects_id.
    028bd227
user.rb 23.3 KB