mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
Domain editing for client
This commit is contained in:
parent
ef0eb7cbc6
commit
92984e19dd
29 changed files with 358 additions and 54 deletions
|
@ -162,7 +162,7 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def general_tab_valid?
|
||||
status_errors = errors.keys.collect { |x| x.match(/domain_statuses/) }
|
||||
status_errors = errors.keys.select { |x| x.match(/domain_statuses/) }
|
||||
(errors.keys - status_errors).empty?
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue