title: Ruby on Rails model method 'new' doesn't accept extra parameters
body: <p><strong>UPDATE</strong></p>
  
  <p>I answered my question below, but I am still asking for a prettier way to achieve my goal. I have a feeling my controller knows too much about <em>how to do things</em>. </p>
  
  <hr>
  
  <p>I have a create action in my VideoController :</p>
  
  <pre><code>def create
    method = 'get_' + params[:video][:provider] + '_video_id'
    provider_video_id = Video.send(method, params[:video][:url])
    thumb = Video.get_thumb_from_youtube(provider_video_id)
  
    @video = Video.new(params[:video], :provider_video_id =&gt; provider_video_id, :thumb =&gt; thumb, :views =&gt; 0, :likes =&gt; 0)
    if @video.save!
      redirect_to video_path('1'), notice:'Video added successfully.'
    else
      render :new
    end
  end
  </code></pre>
  
  <p>I call Video.new with <code>params[:video]</code> with get its information from a form the user fills in. I then manipulate the URL the user passed in with the form to recover the <code>video_provider_id</code>and the<code>thumb</code>.</p>
  
  <p>However, Rails is not saving the video with <code>provider_video_id</code>and <code>thumb</code>... I get this error on save :</p>
  
  <p><code>Validation failed: Thumb can't be blank, Thumb is invalid, Provider video can't be blank</code></p>
  
  <p>My guess is the <code>new</code>method doesn't accept extra parameters...</p>