title: kaminari undefined method 'page'
body: <p>I am trying to add Kaminari to my Rails app.  I have included the gem and this is what my controller looks like:</p>
  
  <pre><code>def index
      if params[:year]
        if params[:year].size &gt; 0
          @songs = Song.where("year like ?", params[:year]).page(params[:page])
        elsif params[:artist].size &gt; 0
          @songs = Song.where("artist_name like ?", params[:artist]).page(params[:page])
        elsif params[:song].size &gt; 0
          @songs = Song.where("title like ?", params[:song]).page(params[:page])
        end
      else
        @songs = Song.first(10).page(params[:page])
      end
    end
  </code></pre>
  
  <p>and then adding</p>
  
  <pre><code>&lt;%= paginate @songs %&gt;
  </code></pre>
  
  <p>in my view, the error I am getting is:</p>
  
  <pre><code>undefined method `page' for #&lt;Array:0x007fab0455b4a8&gt;
  </code></pre>
  
  <p>Not sure why this is coming up as I followed the docs step for step.</p>