We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
validates :birth_date, :date => :past validates :died_on, :date => :future
validates :birth_date, :date => :past
validates :died_on, :date => :future
something like that :)
The text was updated successfully, but these errors were encountered:
Maybe you could use an existing solution (ours :P) https://github.com/codegram/date_validator
If you need any help integrating it I'll be glad to help!
Sorry, something went wrong.
I've copied your test file to make sure your validator was available thru this gem. Thanks!
No branches or pull requests
validates :birth_date, :date => :past
validates :died_on, :date => :future
something like that :)
The text was updated successfully, but these errors were encountered: