Add custom validation to nameservers uniqueness

This commit is contained in:
Martin Lensment 2014-09-22 13:44:42 +03:00
parent 44dce714b8
commit f65cf32991
7 changed files with 45 additions and 17 deletions

View file

@ -1,5 +1,6 @@
- if object.errors.any?
- object.errors.each do |attr, err|
- next if attr.match(/\./)
- next if attr == :epp_errors
= err
%br