-
Notifications
You must be signed in to change notification settings - Fork 137
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
given?
does not recognize multi-part date inputs
#499
Labels
Comments
solebared
added a commit
to rubyforgood/mutual-aid
that referenced
this issue
Mar 25, 2021
Merged
9 tasks
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was pleasantly surprised to find that AI already supports multi-part params such as those generated by the
date_select
helper.However it appears that
given?
does not correctly recognize such inputs.Easiest way to demonstrate the issue was with this failing test.
Happy to work up a PR if you like, though i may have some questions around how to deal with partial inputs (eg, if just the year param is missing).
Much appreciation for this gem!
The text was updated successfully, but these errors were encountered: