RE: generating select lists from collections

[solved]
poking through the docs, looks like collection_select will do it

Collection_select will do it, but it won’t let you use selected_value.

This is the problem I’m currently stuck on.

ponch wrote:

Collection_select will do it, but it won’t let you use selected_value.

This is the problem I’m currently stuck on.

Check out
http://wiki.rubyonrails.org/rails/pages/HowtoUseFormOptionHelpers
It has an example showing you how to do that.

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