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