class SimpleForm::FormBuilder
def full_error(attribute_name, options={})
f.full_error :token #=> Token is invalid
== Examples
when errors for a hidden field need to be shown.
Return the error but also considering its name. This is used
def full_error(attribute_name, options={}) options = options.dup options[:error_prefix] ||= if object.class.respond_to?(:human_attribute_name) object.class.human_attribute_name(attribute_name.to_s) else attribute_name.to_s.humanize end error(attribute_name, options) end