Pål Bergström wrote:
Pål Bergström wrote: > How do I select the selected value in a select list? Can't find any > documentation about that.
I figured that out myself. Now I wonder how I can add a default value, or a blank value but with a default value to that?
-- Posted via http://www.ruby-forum.com/.
Did you find a way to generate a select list with a selected value using a build in rails method, or did you write one of your own? This is something I needed to do recently, but I wrote my own method ... just wondering if there is a build in way!