Fix some new rubocop warnings
This commit is contained in:
parent
c03ba5f6b8
commit
ea59d95f4a
23 changed files with 99 additions and 81 deletions
|
@ -13,7 +13,7 @@ addresses = User.count(
|
|||
|
||||
addresses.each do |address, count|
|
||||
next unless count > 1
|
||||
next if Acl.where(:address => address).exists?
|
||||
next if Acl.exists?(:address => address)
|
||||
|
||||
Acl.create({
|
||||
:address => address,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue