Custom validators that are often needed in Rails applications