Skip to content

Instantly share code, notes, and snippets.

@micahyoung
Created December 8, 2011 03:59
Show Gist options
  • Save micahyoung/1446057 to your computer and use it in GitHub Desktop.
Save micahyoung/1446057 to your computer and use it in GitHub Desktop.
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
@danielravina
Copy link

Awesome!

@samozeleznik
Copy link

Nice! Very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment