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-07-29 13:10:09 +02:00
2015-07-15 13:32:13 +02:00
2019-04-24 14:04:01 +02:00
2019-09-10 21:04:56 +02:00
2019-09-10 20:02:15 +02:00
2019-09-10 21:43:38 +02:00
2019-08-28 20:32:40 +02:00
2019-06-27 09:19:35 +02:00
2019-03-14 18:35:51 +01:00
2017-06-11 10:41:09 +02:00
2019-06-05 20:23:56 +02:00
2015-09-03 01:29:13 +02:00
2019-09-10 21:04:56 +02:00
2019-07-29 13:10:09 +02:00
2019-05-29 20:50:53 +02:00
2019-07-29 13:10:09 +02:00
2019-09-10 20:02:15 +02:00
2019-06-05 16:22:12 +02:00
2019-05-21 13:50:18 +02:00
2019-09-10 20:02:15 +02:00
2019-09-10 21:04:56 +02:00
2019-05-29 20:50:53 +02:00
2019-09-10 20:02:15 +02:00
2019-05-21 13:50:18 +02:00
2019-09-10 21:04:56 +02:00
2019-02-22 16:13:49 +01:00
2019-09-10 21:04:56 +02:00
2019-03-15 10:29:07 +01:00
2019-02-05 17:40:27 +01:00
2019-09-10 22:27:33 +02:00
2019-09-10 20:02:15 +02:00