This project is archived and is in readonly mode.
[patch] DateHelpers ignore html_options
-
Marc Schütz
- Tag set to patch, rails3
-
Santiago Pastorino
Can you provide a failing test and a patch that applies cleanly on master? please.
-
Marc Schütz
Here is an up-to-date patch. I don't know how to build a test case though. Basically it will have to check whether the output of
containsf.time_select :start_time, {}, {:disabled => true}disabled="disabled"in the fields for year, month and date:
<input disabled="disabled" id="play_start_time_1i" name="play[start_time(1i)]" type="hidden" value="2010" /> <input disabled="disabled" id="play_start_time_2i" name="play[start_time(2i)]" type="hidden" value="3" /> <input disabled="disabled" id="play_start_time_3i" name="play[start_time(3i)]" type="hidden" value="5" /> -
Jeremy Kemper
- Milestone set to 2.3.6
- State changed from new to open
- Assigned user set to Santiago Pastorino
-
Santiago Pastorino
Here is the patch that applies cleanly on both master and 2-3-stable
-
Santiago Pastorino
- Tag changed from patch, rails3 to 2.3.x, patch, rails3
-
Repository
- State changed from open to committed
(from [d3a815220345e9e0d7081c6d05bef55560466d41]) Adds disable option to date_helpers generated hidden fields when html_options specifies it. ht by Marc Schütz
[#3807 [patch] DateHelpers ignore html_options state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/d3a815220345e9e0d7081c6d05bef5... -
Repository
(from [e472f76e4c86cfc1350f3b769d9ac3d96f062e3f]) Adds disable option to date_helpers generated hidden fields when html_options specifies it. ht by Marc Schütz
[#3807 [patch] DateHelpers ignore html_options state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/e472f76e4c86cfc1350f3b769d9ac3...
