title: Ruby on rails - Pass text_field's value in form to a parameter for an action in a different controller
body: <p>I have a form which has this text field</p>
  
  <pre><code>&lt;%= f.text_field :content %&gt;
  </code></pre>
  
  <p>I have a link_to tag to post the value of the text field to an action present in another controller. I need to be able to get the value of the text field and say</p>
  
  <pre><code>&lt;%= link_to 'post', :controller =&gt; "a_different_controller", :action =&gt; "update", :message =&gt; "text field's value" %&gt;
  </code></pre>
  
  <p>Can you please help me out here?</p>
  
  <p>I tried various options posted on stack overflow. None seem to work.</p>