Skip to content
New issue

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

Add date validation #8

Closed
franckverrot opened this issue Nov 30, 2010 · 2 comments
Closed

Add date validation #8

franckverrot opened this issue Nov 30, 2010 · 2 comments
Labels

Comments

@franckverrot
Copy link
Owner

validates :birth_date, :date => :past
validates :died_on, :date => :future

something like that :)

@oriolgual
Copy link
Collaborator

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!

@franckverrot
Copy link
Owner Author

I've copied your test file to make sure your validator was available thru this gem. Thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants