title: Rails 4 - Passing Params via link_to?
body: <p>I have a single form - depending which link the user clicks to display the form, I want different hidden params to be passed to the record and saved upon submission.  Is there a nice way to do this?  Thanks in advance!</p>
  
  <p>For instance:</p>
  
  <pre><code>&lt;%= link_to 'General Request', new_request_path %&gt;
  
  &lt;%= link_to 'Project Request', new_request_path %&gt; ### -&gt; set request.project = true
  
  &lt;%= link_to 'Administrative Request', new_request_path %&gt;  ### -&gt; set request.admin = true
  </code></pre>