Quoting Rogelio A. RogeX <[email protected]>: > Hi, I am try paginate a table with plugin WillPaginate, but according to > me I can only paginate as following: > > //make a query, > data = Model.paginate(:per_page => 5)...... > > //Show paginate > <%= WillPaginate @data% > > And I need paginate so: > > obj1 = Model1.find()..... > obj2 = Model2.find()..... > > obj3 = obj1-obj2 > > <% WillPaginate obj3 %> > > Its possible use the plugin for paginate a object in memory?? >
Look at the examples near the bottom of this page: https://github.com/mislav/will_paginate/wiki HTH, Jeffrey -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

