mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 18:59:38 +02:00
Address depricated, new contact requires, domain_contacts refactor
This commit is contained in:
parent
0e252b0b6b
commit
5fd73b037a
38 changed files with 402 additions and 501 deletions
|
@ -56,10 +56,15 @@ class EppController < ApplicationController
|
|||
end
|
||||
|
||||
# for debugging
|
||||
@errors << {
|
||||
code: '1',
|
||||
msg: 'handle_errors was executed when there were actually no errors'
|
||||
} if @errors.blank?
|
||||
if @errors.blank?
|
||||
@errors << {
|
||||
code: '1',
|
||||
msg: 'handle_errors was executed when there were actually no errors'
|
||||
}
|
||||
# rubocop:disable Rails/Output
|
||||
puts obj.errors.full_messages if Rails.env.test?
|
||||
# rubocop: enable Rails/Output
|
||||
end
|
||||
|
||||
@errors.uniq!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue