I have hash that have values in form of array. i am using will paginate for pagination. But recieve error
"undefined method paginate for Hash".
below is my code
h = {"127.1.0"=>[31.553965003401203, 74.35798642106394], "127.2.0"=>[54.99947245294339, 74.35810745776595], "127.0.0"=>[51.07178714109552, 71.86443937665145]}
h.paginate(:page => params[:page], :per_page => 30) #giving error
Any help to done this...