module Account::FormsHelper
def presence_validated?(object, attribute)
def presence_validated?(object, attribute) validators = object.class.validators validators.select! do |validator| PRESENCE_VALIDATORS.include?(validator.class) && validator.attributes.include?(attribute) end validators.any? end