I want to have a text value for a form like "search website.com..." but if the form has been submitted i want the query to appear- i dont know ruby idioms that well but i was think
<%= text_field_tag "q", params[:q] | "search website.com...." %>
is this correct?