Skip to content

Instantly share code, notes, and snippets.

@micahyoung
micahyoung / simple_form_initializer.rb
Created December 8, 2011 03:59
simple_form full error messages
module SimpleForm
module Components
module Errors
def error_text
attribute_name.to_s.humanize + " " + errors.send(error_method)
end
end
end
end