mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Remove circular reference from domain
This commit is contained in:
parent
df239b1ff5
commit
d9d8ba1d12
1 changed files with 3 additions and 3 deletions
|
@ -311,7 +311,7 @@ class Domain < ActiveRecord::Base
|
|||
status:
|
||||
registered:
|
||||
changed: #{updated_at.to_s(:db)}
|
||||
expire:
|
||||
expire:
|
||||
outzone:
|
||||
delete:
|
||||
|
||||
|
@ -330,13 +330,13 @@ class Domain < ActiveRecord::Base
|
|||
org:
|
||||
url:
|
||||
phone:
|
||||
address:
|
||||
address:
|
||||
created:
|
||||
changed:
|
||||
EOS
|
||||
end
|
||||
|
||||
def whois_server_update(name = name, whois_body = whois_body)
|
||||
def whois_server_update(name, whois_body)
|
||||
wd = Whois::Domain.find_or_initialize_by(name: name)
|
||||
wd.whois_body = whois_body
|
||||
wd.save
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue