Getting value from collection_select


I have this: <%= collection_select(:post, :id, @posts, :id, :title,
options ={:prompt => “-Select categories-”},
:class=>“category_dropdown_list”) %>

How do I get the value of the list?

In my observe_field, :with => ??


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs