# File lib/simple_form/components/errors.rb, line 18 def error_method options[:error_method] || SimpleForm.error_method end
# File lib/simple_form/components/errors.rb, line 14 def error_text "#{options[:error_prefix]} #{errors.send(error_method)}".lstrip.html_safe end
# File lib/simple_form/components/errors.rb, line 22 def errors @errors ||= (errors_on_attribute + errors_on_association).compact end
Generated with the Darkfish Rdoc Generator 2.