Matt & Tom thanks on the pagination help!
Ended up with something looking like this:
@things = Thing.paginate(:page => params[:page],:per_page => 15)
Brett
On Aug 24, 2:18 pm, Bryan Larsen <[email protected]> wrote:
> Support for this was patched in at the end of April. There's even a
> test for it, which you can use as your example:
>
> http://github.com/tablatom/agility/commit/57400608ae1ae27fec18b4f22ef...
>
> Bryan
>
> MichelV69 wrote:
> > What is the easiest way to use "table-plus" with a custom
> > collection?
> > My application has to deliver "per day" summary billing of an
> > arbitrary number of days, for a set of resources. The array I'm
> > building contains "date, pbx, did, customer, this_month_mins,
> > last_month_mins" in each hash/ record.
>
> > I don't want to print the individual data records; there can be
> > hundreds totaled in "this_month_mins". So I am doing some behind-the-
> > curtain accumulations, and using that to build the per-day hash
> > summary record. I then want to use the very spiffy looking "table-
> > plus" to put it out on the screen.
>
> > I'm having some troubles inferring from the docs I have if/how to do
> > this. Thanks very much in advance; Hobo is very cool, and I'm
> > enjoying working with it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---