GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
How to reproduce:
Create Rails form with calendar date select and format = finnish (dd.mm.yyyy).
Add "validates_presence_of :date" to rails model.
Enter invalid date into input field (e.g. "25.6.20101", superfluous "1").
--> date field will be nil in database, although validates_presence_of was used.