Showing 1 videos tagged with validations

Railscast - Episode 41: Conditional Validations

00:04:59 railscasts.com
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.