title: Displaying results from scopes in rails
body: <p>I am working on application which has model <code>Exercise</code> and I added the three scopes method shown below: </p>
  
  <pre><code>scope :easy, -&gt; { where(level: "easy") }
  scope :medium, -&gt; { where(level: "medium") }
  scope :hard, -&gt; { where(level: "hard") }
  </code></pre>
  
  <p>and I have a view where I want display content depends onto which method I've used. For instance, if I click on link "easy", it should show all exercises in the database which are easy and so on. But I have any idea how to start.</p>