Use new requires_attribute method in poll

This commit is contained in:
Martin Lensment 2015-01-27 15:34:01 +02:00
parent 857ab488b8
commit 365e27086f
5 changed files with 5 additions and 10 deletions

View file

@ -79,7 +79,7 @@ class EppController < ApplicationController
full_selector = [@prefix, selector].join(' ')
el = params[:parsed_frame].css(full_selector).first
missing = el.nil? || (el.text.blank? && el.children.none?)
missing = el.nil?
epp_errors << {
code: '2003',