Extra validations for rails