From: misiek Date: 2006-02-25T08:18:33+09:00 Subject: select() I got for now this code html display I need to transfer this code to ruby some like => <%= select("property", "location_id",Location.find(:all, :conditions => "name != '' ").collect {|p| [p.name, p.id]}, { :include_blank => false }) %> function above look for from database some data and put it into the drop box fields I need display only YES and NO and set them values 0 and 1 any ideas ?