This project is archived and is in readonly mode.
FormBuilder module not work for all fields types
Reported by Ramon Soares | February 4th, 2009 @ 06:27 AM | in 3.x
the problem is the following line:
actionpack/lib/action_view/helpers/form_helper.rb @ 870
self.field_helpers = (FormHelper.instance_methods - ['form_for'])
one possible fix is:
self.field_helpers = (FormHelper.instance_methods - ['form_for']) +
(DateHelper.instance_methods - ["distance_of_time_in_words", "select_month", "select_second", "select_datetime", "distance_of_time_in_words_to_now", "select_day", "select_time", "time_ago_in_words", "select_hour", "select_date", "select_year", "select_minute"]) +
(FormOptionsHelper.instance_methods - ["options_for_select", "option_groups_from_collection_for_select", "grouped_options_for_select", "options_from_collection_for_select", "time_zone_options_for_select"])
Comments and changes to this ticket
-
Jeff Kreeftmeijer October 14th, 2010 @ 07:43 PM
- State changed from new to stale
- Importance changed from to
Marking this one as stale as it's old and it's unclear what problem this tries to solve.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>