mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Remove redundant code
This commit is contained in:
parent
d2b94895b1
commit
e18ca330a0
1 changed files with 0 additions and 4 deletions
|
@ -32,10 +32,6 @@ class Domain < ActiveRecord::Base
|
|||
validates :name, :owner_contact, presence: true
|
||||
validates_associated :nameservers
|
||||
|
||||
# after_validation :construct_epp_errors
|
||||
|
||||
attr_accessor :epp_errors
|
||||
|
||||
def name=(value)
|
||||
value.strip!
|
||||
write_attribute(:name, SimpleIDN.to_unicode(value))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue