Skip to content

Instantly share code, notes, and snippets.

@eddix
Created January 18, 2013 09:04
Show Gist options
  • Select an option

  • Save eddix/4563311 to your computer and use it in GitHub Desktop.

Select an option

Save eddix/4563311 to your computer and use it in GitHub Desktop.
customize field error proc
# config/application.rb
config.action_view.field_error_proc = Proc.new { |html_tag, instance|
"#{html_tag}".html_safe
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment