title: How to send a parameter in form_tag in rails
body: <p>I want to send a parameter in form_tag helper like we can send a parameter through link_to helper in rails like this: </p>
  
  <pre><code>&lt;%= link_to("Send Invitation", {:controller =&gt; 'l_home', :action =&gt; 'sendConnectRequest', foo: "hello world!!!"}, :class =&gt; "btn-primary")%&gt;
  </code></pre>
  
  <p>Similarly I am trying to do this 
  <code>&lt;%= form_tag({:action =&gt; "sendConnectRequest", :method =&gt; 'post',  foo: "hello world!!!"}) do %&gt;</code>in order to send a parameter in form_tag, but it is not working :(</p>
  
  <p>Help needed </p>
  
  <p>Thanks</p>