Topic: selects problem
I hate select boxes in Rails
How do I get the select box to have the default box set from the params[:id]?
@projects = Project.find(:all, :conditions => ["tipe = 'budget' and client_id = ?", @user.client_id], :order => "created_on")
form.collection_select(:project_id, @projects, :id, :name)
I may have this all backwards but I was under the impressioin if I had @project.id set to the db row that I wanted the select box to default it would. but no. so I am either under the wrong impression or I'm doing soemthing wrong.