add rails validations