Files
nairobi/app/controllers
Javi Martín d639cd587a Remove unnecessary uniq calls
The code `where(id: ids)` is equivalent to `where(id: ids.uniq)`.

Since Rails 5 uses `distinct` instead of `uniq` and in most cases where
we use `uniq` with `pluck` we should simply remove the `uniq` call (as
done in this commit), we're also removing the `Rails/UniqBeforePluck`
rubocop rule.
2019-09-10 22:27:33 +02:00
..
2019-09-10 22:27:33 +02:00
2019-09-10 21:04:56 +02:00
2019-09-10 21:04:56 +02:00
2019-09-10 21:43:38 +02:00
2019-09-10 22:27:33 +02:00
2019-09-10 21:04:56 +02:00