title: Check if any parameters are given in a request
body: <p>I'm designing an API in Rails. If the developer supplies the parameters set by me through GET request it's OK. But what if he supplies a parameter not given by me??
  For example let's say I accept parameter name in the URL. I can check that by </p>
  
  <pre><code>params[:name]
  </code></pre>
  
  <p>in my code right. What if the developer supplies the parameter names in his URL? How do I notify him that he can't do that?</p>
  
  <p>In short my question comes to "How can I check if any other parameters are supplied in the URL" ?</p>