RailsCasts
RailsCasts
Ryan Bates
#41 Conditional Validations
4 minutes Posted Jun 6, 2007 at 7:00 am.
0:00
4:59
Download MP3
Show notes
By default, validations will take place every time the model is saved. Sometimes you only want a validation to happen when certain conditions are met. See how to do that in this episode.