scope
This commit is contained in:
parent
56b1e6bca0
commit
fc3e77102f
@ -1,5 +1,5 @@
|
||||
class Member < ApplicationRecord
|
||||
def self.default_scope
|
||||
def self.public_scope
|
||||
where.not(confirmed_at: nil).where.not(picture: nil)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user