Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
ysksn 2017-11-16 20:13:03 +09:00 committed by Eugen Rochko
parent 556c07df1f
commit 9e3d24a150
1 changed files with 1 additions and 1 deletions

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