diff options
author | ysksn <bluewhale1982@gmail.com> | 2017-11-16 20:13:03 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-11-16 12:13:03 +0100 |
commit | 9e3d24a150acf118789461797735fc0e4a8a30ea (patch) | |
tree | ca3ef1fc4c1e79955fd592a67b95074d53ee70bf /app/models/concerns | |
parent | 556c07df1f30482782cd94070d23b31ffdefca89 (diff) |
Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/account_finder_concern.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/account_finder_concern.rb b/app/models/concerns/account_finder_concern.rb index 561c7ab9f..2e8a7fb37 100644 --- a/app/models/concerns/account_finder_concern.rb +++ b/app/models/concerns/account_finder_concern.rb @@ -44,7 +44,7 @@ module AccountFinderConcern end def with_usernames - Account.where.not(username: [nil, '']) + Account.where.not(username: '') end def matching_username |