Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

will_paginate: extra options are cut off from count_options.

#37

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... :)

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

State: resolved
Milestone: none
Assigned to: Chris Wanstrath Chris Wanstrath

Activity

  1. Chris Wanstrath
    Chris Wanstrath
    • State changed from new to resolved

    Fixed in http://require.errtheblog.com/pl.... Thanks Bence and Mislav!

    June 14th, 2007 @ 09:41 AM

  2. Mislav
    Mislav

    Chris, I closed this ticket from the commit message.

    ... Simply allow all options [#37 state:resolved] [Bence Golda]
    

    Any ideas why it didn't work? Lighthouse hiccup? The changeset never showed up in the overview. Oh, well ... :/

    June 14th, 2007 @ 09:41 AM

  3. Chris Wanstrath
    Chris Wanstrath

    It may have to be the very last thing in the message. Mine are always at the end.

    June 14th, 2007 @ 09:41 AM

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.