UniqBeforePluck should recommend Distinct on rails 5 · Issue #91 · rubocop-hq/rubocop-rails

In Rails 5, uniq was deprecated in favour of distinct on ActiveRecord relations: https://edgeguides.rubyonrails.org/5_0_release_notes.html#active-record-deprecations This means the documentation he...