Archive for December, 2007

Custom Validations in Rails

Rails validations are nifty, but they can get pretty bulky and difficult to read. In this article we’ll look at how to counteract the bulk with custom validations that enable the use of class methods with clearer names like validates_as_person_name.

Read more »