title: Ruby on Rails - When to use params.permit! and how to replace it
body: <p>I'm working on a legacy rails application and the controllers have many instances of <code>params.permit!</code>. When running a Brakeman scan on it, <code>params.permit!</code> opens up the application to mass assignment vulnerabilities.</p>
  
  <p>My question is- what is the most effective way to get around this params.permit! vulnerability and replace it?</p>