Commonly used rails validators.