Mukund wrote: > http://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#M001753 > > I assume you have the Ajax and the update parts right. It is a > question of populating the right value into @machine.
This is NOT working. See http://rails.lighthouseapp.com/projects/8994/tickets/1138-collection_select-doesnt-select-current-choice for details. Id is a FixNum value while the selected value is transfered as a String value. So value and selected can never be the same in option_value_selected? If value is FixNum! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

