Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)

This commit is contained in:
ysksn 2017-11-16 20:13:03 +09:00 committed by Eugen Rochko
parent a766ece166
commit bf1d4a2cb9

View file

@ -44,7 +44,7 @@ module AccountFinderConcern
end
def with_usernames
Account.where.not(username: [nil, ''])
Account.where.not(username: '')
end
def matching_username