0
0
Fork 0

Remove unused matches_domain scopes on Account, DomainAllow, DomainBlock (#28803)

This commit is contained in:
Matt Jankowski 2024-01-18 11:11:04 -05:00 committed by GitHub
parent 0b853678a4
commit d0b3bc23d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 13 deletions

View file

@ -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