Skip to content

Update form_helper syntax for Rails 4 compatibility.#4

Open
bdcheung wants to merge 12 commits intopaneq:masterfrom
bdcheung:master
Open

Update form_helper syntax for Rails 4 compatibility.#4
bdcheung wants to merge 12 commits intopaneq:masterfrom
bdcheung:master

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