Remove unused matches_domain scopes on Account, DomainAllow, DomainBlock (#28803)
This commit is contained in:
@@ -17,8 +17,6 @@ class DomainAllow < ApplicationRecord
|
||||
|
||||
validates :domain, presence: true, uniqueness: true, domain: true
|
||||
|
||||
scope :matches_domain, ->(value) { where(arel_table[:domain].matches("%#{value}%")) }
|
||||
|
||||
def to_log_human_identifier
|
||||
domain
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user