Common validators for Rails applications