title: Render an array in a view in ruby on rails
body: <p>At the controller end, I have an array</p>
  
  <blockquote>
    <p><code>@bookmarks = Bookmark.where('user_id = ? &amp;&amp; note is NULL',current_user.id).order('created_at DESC').page(params[:page_2]).per(4)
    </code></p>
  </blockquote>
  
  <p>Then at the View I have this render tag through which I want to render @bookmarks</p>
  
  <blockquote>
    <p><code>&lt;%= render @bookmarks %&gt;</code></p>
  </blockquote>
  
  <p>Then there is page for _bookmark which will display @bookmarks </p>
  
  <pre><code>bookmark.title 
  bookmark.created_at
  </code></pre>
  
  <p>But this process is giving me error of no partial. (I try to implement kaminari via Ajax)</p>