RailsCasts Pro episodes are now free!

Learn more or hide this

Customize Field Error

#39 Customize Field Error

Jun 01, 2007 | 3 minutes | Views
When a validation error occurs, Rails helpfully wraps the field in a div tag so you can style it. But sometimes you don't want this behavior. In this episode you will see how to customize it.
  • Download:
  • mp4Full Size H.264 Video (8.86 MB)
  • m4vSmaller H.264 Video (5.4 MB)
  • webmFull Size VP8 Video (12.2 MB)
  • ogvFull Size Theora Video (12.7 MB)