Select Helper Array of Array + Filter

Noob alert!

Hi, I am having trouble figuring out how to filter a select helper. The
following shows all of the rows in the table but I would like to filter
the collection from the list_name column (:list_name => "Project

@project_status = Valuelist.all.collect {|s| [s.list_value,]}

Thanks in advance, James

Use Valuelist.where( .. ).collect {...

I think it would be worth while working through some tutorials such as, which is free to use online, to get the basics of


Thanks Colin, worked a treat!

I have am going through a the tutorial atm and have
been through some others. To date none had dealt with my situation even
though it was 'obvious'. Too much learning after my day job.

Thanks once again, James.