mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Test fixes #2565
This commit is contained in:
parent
647d074b8b
commit
b6dd532171
7 changed files with 18 additions and 13 deletions
|
@ -1,3 +1,9 @@
|
|||
class ReservedDomain < ActiveRecord::Base
|
||||
include Versions # version/reserved_domain_version.rb
|
||||
|
||||
class << self
|
||||
def pw_for(domain_name)
|
||||
select("names -> '#{domain_name}' AS pw").first.try(:pw)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue