#37 ✓resolved
Bence Golda

will_paginate: extra options are cut off from count_options.

Reported by Bence Golda | June 14th, 2007 @ 09:41 AM

I'm using some authentication related plugins that alter ActiveRecord::Base.count() and find() methods and those methods need some extra options passed through your magic WillPaginate::Finder::ClassMethods::method_missing_with_paginate(). find() gets those extras but count() -- 'cause of that destructive slicing. The attached diff shows what I'd love to see in later revisions... :)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Attachments

Pages