None of the below select helpers are working only for the selected part:
<%= f.select(:project_name, @parent_projects.collect {|p| [ p.name, p.name ] }, {:include_blank => 'Select Project'}, {:selected => "#{Project.find_by_identifier(params[:parent_id]).name}"}) %>
OR
<%= f.select(:project_name, @parent_projects.collect {|p| [ p.name, p.name ] }, {:include_blank => 'Select Project'}, :selected => "#{Project.find_by_identifier(params[:parent_id]).name}") %>
I am getting no error message but the the select box is not pre-selecting the name.
Checked the API from here