Forum: Ruby on Rails :selected option is ignored for collection_select

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8e7e5b934fcbcdfb475072685755457f?d=identicon&s=25 Taylor Strait (taylorstrait)
on 2009-01-23 21:18
Is there a workaround for this issue yet?  I just wasted a ton of time
trying to debug this in an AJAX form.

http://rails.lighthouseapp.com/projects/8994/ticke...

-----------
Reported by YoNoSoyTu | September 12th, 2008 @ 11:07 PM | in 2.3

The :selected option in collection_select is ignored. This patch uses
the value of :selected option if it is provided, otherwise normal Rails
behaviour apply.
This topic is locked and can not be replied to.