RE: generating select lists from collections


#1

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


#2

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

This is the problem I’m currently stuck on.


#3

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.