title: Is it possible to pass values to the params hash without putting the properties in a form in Rails 4?
body: <p>So I want to pass values to a rails controller method after a user submits a form in a Rails view.  I want the params hash structured as:</p>
  
  <p>{:user => {:username=>"some name" }, :title => "My Title"}</p>
  
  <p>To do this I use a hidden_field_tag outside the form element.  The generated html looks something like this:</p>
  
  <pre><code>&lt;input type="hidden" name="title" id="title" value="My Title" /&gt;
  
  
  &lt;%= form_for @user, :as =&gt; :user, :url =&gt; sign_in_path(@user) do |f| %&gt;
    &lt;%= f.input :username %&gt;
     #usual form field stuff
  </code></pre>
  
  <p>Yet, when I inspect the params hash, I only find the :username key and value pair inside.  Does this mean the title has to be part of the form via the "f.title" syntax?  I don't want to do this if possible because title is not part of the User model.  It's a separate property I want to use for something else inside the controller.</p>