will_paginate does work on arrays. You need to create an instance of  
WillPaginate::Collection targetting your array. I think there's an  
example in the dogs

Sent from my iPhone

On 11 Dec 2008, at 17:25, Mark Mr <[email protected]>  
wrote:

>
> I'm looking for a way to paginate an array of data basically. I know
> about will_paginate but from what I've seen that only works on
> activerecord searches. I can't seem to find a good resource that lets
> you paginate a regular data set. Anyone got a tip on this? I'd really
> appreciate it :)
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to