title: How to remove a field from params[:something]
body: <p>My registration form, which is a form for the Users model, takes a string value for company. However, I have just made a change such that users belongs_to companies. Therefore, I need to pass an object of Company to the Users model. </p>
  
  <p>I want to use the string value from the form to obtain the an object of Company:</p>
  
  <pre><code>@user.company = Company.find_by_name(params[:company])
  </code></pre>
  
  <p>I believe the above works, however the form is passing the :company (which is string) into the model when I call:</p>
  
  <pre><code>@user = User.new(params[:user])
  </code></pre>
  
  <p>Therefore, I want to know (and cannot find how) to remove the :company param before passing it to the User model. </p>