search for: house_form_column

Displaying 1 result from an estimated 1 matches for "house_form_column".

2007 May 02
0
Selected value in a combobox
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'') new_list=... ... list do |element| if record = element.name selec=element.id end end select_tag ''X'',options_for_select(new_list, selected=selec), {:multiple =>...