Use SQL::Union for User#authorized_projects
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.
Showing
Please
register
or
sign in
to comment