title: How do pagination on hash that have value in form of array using Rails 4
body: <p>I have hash that have values in form of array. i am using will paginate for pagination. But recieve error </p>
  
  <pre><code>           "undefined method paginate for Hash". 
  </code></pre>
  
  <p>below is my code</p>
  
  <pre><code>   h = {"127.1.0"=&gt;[31.553965003401203, 74.35798642106394], "127.2.0"=&gt;[54.99947245294339, 74.35810745776595], "127.0.0"=&gt;[51.07178714109552, 71.86443937665145]}
  
     h.paginate(:page =&gt; params[:page], :per_page =&gt; 30) #giving error
  </code></pre>
  
  <p>Any help to done this...</p>