mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
Remove unused methods
This commit is contained in:
parent
c83155015e
commit
d346d9c87b
2 changed files with 0 additions and 8 deletions
|
@ -10,10 +10,6 @@ class BlockedDomain < ActiveRecord::Base
|
||||||
def by_domain name
|
def by_domain name
|
||||||
where(name: name)
|
where(name: name)
|
||||||
end
|
end
|
||||||
|
|
||||||
def any_of_domains names
|
|
||||||
where(name: names)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def name= val
|
def name= val
|
||||||
|
|
|
@ -19,10 +19,6 @@ class ReservedDomain < ActiveRecord::Base
|
||||||
where(name: name)
|
where(name: name)
|
||||||
end
|
end
|
||||||
|
|
||||||
def any_of_domains names
|
|
||||||
where(name: names)
|
|
||||||
end
|
|
||||||
|
|
||||||
def new_password_for name
|
def new_password_for name
|
||||||
record = by_domain(name).first
|
record = by_domain(name).first
|
||||||
return unless record
|
return unless record
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue