lucasas/will_paginate_mongoid

Always uses count?

JustMikey opened this issue · 2 comments

Hello, I am really a newbie so maybe I am about to say something foolish but as far as I understand this gem always uses 'self.count' for calculating the total amount of entries and therefore there is no 'total_entries' method for pagination which is not convinient in many ways for perfomance. So, if what i've said correct, are you going to fix it somehow?

If you implement a fix yourself, I'm sure the author would not mind a pull request :)

Hi @JustMikey I didn't really get your point here. Can you give some example.