Rails 3 custom validation using parent model's attributes
This post goes over how to do validate the value of an attribute in a Rails 3 model based on the value of a parent model.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
This post goes over how to do validate the value of an attribute in a Rails 3 model based on the value of a parent model.
Post a comment