title: how to call a active record named scope with a string
body: <p>I'm sure I'm miss understanding the use of call but I thought I could do something like this. </p>
  
  <pre><code>@case_studies = CaseStudy.call("some_named_scope")
  </code></pre>
  
  <p>Where <code>"some_named_scope"</code> is also a named scope in <code>CaseStudy</code>. The reason why I need to use call is because I have named scopes that are the same names of the actions in the controller so I'm hopping to do something like this. </p>
  
  <pre><code>@case_studies = CaseStudy.call(params[:action])
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>Forgive me, I just realized I was thinking about the send method, some how the word call got stuck in my head. But <code>@case_studies = CaseStudy.send(params[:action])</code> works as I thought it would.</p>