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:
|
status:
|
||||||
registered:
|
registered:
|
||||||
changed: #{updated_at.to_s(:db)}
|
changed: #{updated_at.to_s(:db)}
|
||||||
expire:
|
expire:
|
||||||
outzone:
|
outzone:
|
||||||
delete:
|
delete:
|
||||||
|
|
||||||
|
@ -330,13 +330,13 @@ class Domain < ActiveRecord::Base
|
||||||
org:
|
org:
|
||||||
url:
|
url:
|
||||||
phone:
|
phone:
|
||||||
address:
|
address:
|
||||||
created:
|
created:
|
||||||
changed:
|
changed:
|
||||||
EOS
|
EOS
|
||||||
end
|
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::Domain.find_or_initialize_by(name: name)
|
||||||
wd.whois_body = whois_body
|
wd.whois_body = whois_body
|
||||||
wd.save
|
wd.save
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue