111297422-que_jobs

This commit is contained in:
Stas 2016-01-25 16:56:04 +02:00
parent 764abdfd89
commit 8ed8a46046
3 changed files with 15 additions and 1 deletions

View file

@ -106,7 +106,7 @@ class WhoisRecord < ActiveRecord::Base
self.json = generated_json
self.body = generated_body
self.name = json['name']
self.registrar_id = domain.registrar_id # for faster registrar updates
self.registrar_id = domain.registrar_id if domain # for faster registrar updates
end
def update_whois_server