Skip to content

Instantly share code, notes, and snippets.

@tiegz
Created April 10, 2009 19:34
Show Gist options
  • Save tiegz/93252 to your computer and use it in GitHub Desktop.
Save tiegz/93252 to your computer and use it in GitHub Desktop.
# Put this in your app config to omit the div that wraps error fields in form_for
ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| html_tag }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment