I have a search form on page. It works fine, but if user give a search
word by typing it in URL:
After that search form dosn't work any more, because form post data to
this URL and word in URL overwrite input-word in form.
What can I do to fix this?
In PHP a simple can:
$word = $_POST['word']
$word = $_GET['word']
But what I can do in Rails?