I am using a form_for to update a user profile.
As part of the form I am using a select menu. The menu is filled from an array ie,
STATUS = [[\'Active\',
<%= f.select(:status, options_for_select(STATUS, :selected => params[:status])) %>
should be written as
<%= f.select :status, STATUS %>