title: Rails 4 Strong parameters : permit all attributes?
body: <p>I'm building a web app with Rails 4 strong parameters.</p>
  
  <p>When building the admin back office controllers, I wonder what is the best way to permit all the model attributes?</p>
  
  <p>For now, I wrote this:</p>
  
  <pre><code>def user_params 
    params.require(:user).permit(User.fields.keys)
  end
  </code></pre>
  
  <p>Do you think of a better way?</p>