mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
parent
857b35417a
commit
f0a7edd6d8
14 changed files with 18 additions and 24 deletions
|
@ -8,6 +8,8 @@ class ReservedDomain < ApplicationRecord
|
|||
|
||||
alias_attribute :registration_code, :password
|
||||
|
||||
self.ignored_columns = %w[legacy_id]
|
||||
|
||||
class << self
|
||||
def pw_for(domain_name)
|
||||
name_in_ascii = SimpleIDN.to_ascii(domain_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue