Nic Lin's Blog

喜歡在地上打滾的 Rails Developer

rails 非hash只想用array輸出page

myarray = Class.all @results = Kaminari.paginate_array(myarray).page(params[:page])

http://stackoverflow.com/questions/6934623/undefined-method-page-for-array0xafd0660

Share Comments
comments powered by Disqus