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.

Cant run rake tasks when WillPaginate is in project

#40

I installed will paginate using piston. I have not implemented any part of the plugin.

Attempting to run a rake task results in an error:

rake aborted!

uninitialized constant WillPaginate::Finder

Reported by Adam · July 10th, 2007 @ 01:42 PM

State: resolved
Milestone: none
Assigned to: Mislav Mislav

Activity

  1. Adam
    Adam

    I think it just needs a few requires:

    require 'will_paginate/finder'

    require 'will_paginate/view_helpers'

    seemed to fix the problem.

    Sweet! Now i get to play with the plugin!

    July 10th, 2007 @ 01:42 PM

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

    (from [265]) will_paginate: Explicitly require files. People seem to be having issues

    with this and rake. [#40 state:resolved]

    http://require.errtheblog.com/pl...

    July 10th, 2007 @ 01:42 PM

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.