default scope throws devise

This commit is contained in:
Torsten
2023-01-30 18:59:33 +02:00
parent a86806e357
commit 2305577e9d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
class Member < ApplicationRecord
def self.default_scope
def self.public
where.not(confirmed_at: nil).where.not(picture: nil)
end