Here is a piece of code I\'m using now:
<%= f.select :project_id, @project_select %>
How to modify it to make its default value equal
Alternatively, you could set the :project_id attribute in the controller, since the first argument of f.select pulls that particular attribute.