Module: WillPaginate::Finders::ActiveResource

Includes:
Base
Defined in:
lib/will_paginate/finders/active_resource.rb

Overview

Paginate your ActiveResource models.

@posts = Post.paginate :all, :params => {
           :page => params[:page], :order => 'created_at DESC'
         }

Method Summary

Methods included from Base

#paginate, #paginated_each, #per_page, #per_page=