11898: Remove superfluous uniq(&:id) call
authorTom Clegg <tom@curoverse.com>
Fri, 23 Jun 2017 19:17:23 +0000 (15:17 -0400)
committerTom Clegg <tom@curoverse.com>
Fri, 28 Jul 2017 14:53:56 +0000 (10:53 -0400)
commitb459e0fc5b8911198085703188383e964fe6b46f
tree95a964bec3cb75a3f4ab0ad26be793e42f088a3b
parent8d24a8224decd26726dcfdeb239df4e12bd0d315
11898: Remove superfluous uniq(&:id) call

Avoids adding DISTINCT to SQL query, which causes Postgres to do
expensive things.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curoverse.com>
services/api/app/controllers/application_controller.rb