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

Update form_helper syntax for Rails 4 compatibility. #4

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

bdcheung
Copy link

@bdcheung bdcheung commented Apr 9, 2014

ActionView::Helpers::InstanceTag is removed in Rails 4. This pull request fixes the form helpers to use the ActionView::Helpers::Tags::TextField methods to generate the HTML tags for the data select.

Lukas Beaton and others added 12 commits June 7, 2012 11:44
Merging Brian's changes into ASEE fork
Ruby 1.9 and greater changed the manner in which slashed numerical dates are parsed.  1.8.7 parsed slashed dates as mm/dd/yyyy, 1.9.1+ parses them as dd/mm/yyyy.  As a result, users who bypass the calendar_date_select helper modal and manually enter dates into the form input with American format (mm/dd/yyyy) could result in incorrect data being written to the database or an ArgumentError: argument out of range.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants