RubyFlow The Ruby and Rails community linklog

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.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in