RailsCasts
RailsCasts
Ryan Bates
#39 Customize Field Error
3 minutes Posted Jun 1, 2007 at 7:00 am.
0:00
3:30
Download MP3
Show notes
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.