Hi, I was wondering how to access all option values in drop down list in rails params array. In params array only selected value is stored, so is there any way to access all options and selected value?
One possibility is to create hidden field and fill it in javascript onsubmit event with all options and selected value and then access it hidden field in params array. Is there better solution for this? Thanks in advance -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.