Forum: Ruby on Rails Selected value in a combobox

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Maria (Guest)
on 2007-05-02 18:26
I'm using ActiveScaffold.

In the file house_helper.rb I have written the code:

def house_form_column(record, input_name)
  list = House.find(:all, :include => 'city')
    list do |element|
    if record =
  select_tag 'X',options_for_select(new_list, selected=selec),
{:multiple => false}

to visualize a combobox with some data. The information is visualised
correctly but I can't select a value in the combobox, it doesn't work.
This topic is locked and can not be replied to.