title: Modify ruby hash in place( rails strong params)
body: <p>This may be more a ruby question then rails question but I'm pretty sure I was able to do this in a vanilla ruby application.</p>
  
  <p>I have strong params defined.</p>
  
  <pre><code>def trip_params
    params.require(:trip).permit(:name, :date)
  end
  </code></pre>
  
  <p>Now I get those params in a controller method.  I want to do this.</p>
  
  <pre><code>def save
    trip_params[:name] = 'Modifying name in place'
    #trip_params[:name] still equals original value passed
  end
  </code></pre>
  
  <p>This never works.  <strong>Name never changes</strong>. 
  BTW: The type of trip_params is ActionController::Parameters</p>
  
  <p>If I do a standard ruby script, it works.</p>
  
  <pre><code>test = {}    
  test[:name] = "blah"    
  test[:name] = "ok"    
  puts test #{:name=&gt;"ok"}
  </code></pre>