Mark `Rails/UniqBeforePluck` cops as unsafe by kunitoo · Pull Request #320 · rubocop-hq/rubocop-rails

Rails/UniqBeforePluck is unsafe depending on the database collation. Here is an example of an unsafe case for the three databases that Rails supports(MySQL, SQLite, PostgreSQL). In the case of MySQ...