This project is archived and is in readonly mode.
:selected option is ignored for collection_select
-
billno
This patch is two years old!!! See #7043 in the old bug tracker
What does it take to get it committed? I just checked github and it does not seem to be in the sources.
This stuff up wasted a lot of my time. collection_select does NOT work as documented and this patch fixes it.
-
Matt Buck
I second that. What needs to be done to get this into core? I'm volunteering.
-
YoNoSoyTu
Read http://rails.lighthouseapp.com/p...
You only have to apply the patch to the Rails edge, test it and if it works give this ticket a comment with "plus 1" (with the symbol and without the space), and a short comment why this patch should be considered for inclusion.
By the way, I have updated the patch, removing whitespace, as source style document say.
-
YoNoSoyTu
I did not know who to merge both patches into one (sorry).
-
Gabriel Medina
- Title changed from :selected option is ignored for collection_select to [PATCH] :selected option is ignored for collection_select
- Tag changed from actionpack, bug, edge, helper, patch, tested, tiny to actionpack, bug, collection, collection_select, edge, helper, ignored, patch, selected, tested, tiny
Single file patch.
Gabriel Medina.
-
Shane Vitarana
+1, works as expected and tests look good.
-
Pratik
- Milestone cleared.
- Assigned user set to Pratik
- Title changed from [PATCH] :selected option is ignored for collection_select to :selected option is ignored for collection_select
-
Repository
- State changed from new to resolved
(from [9a8e2a059c823498e0fb318f25b926a6d015ef87]) Ensure selected option is not ignored for collection_select. [#1037 :selected option is ignored for collection_select state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
