Ruby on Rails Wednesday, November 24, 2010

> I'm using the plugin will_paginate with a table of more than 100,000
> records, i also do a join with other table.
> I'm wondering if will_pagination in my situation is an appropriate
> choice, or whether it is better to implement something ad-hoc?

What are you experiencing that is making you doubt will_paginate? I haven't used it on sets that big, but if it's underlying queries are using LIMIT/OFFSET and appropriate indexes correctly, I don't see why it would be any slower than something ad-hoc...

-p

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment