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 needs require statement for "rake db:fixtures:load"

#30

When trying to run "rake db:fixtures:load" I was getting this error:

uninitialized constant WillPaginate::Finder

---

This was easily resolved by putting these lines at the top of vendor/plugins/will_paginate/init.rb:

require 'will_paginate/finder'

require 'will_paginate/view_helpers'

Reported by Scott Becker · June 14th, 2007 @ 07:27 PM

State: resolved
Milestone: none
Assigned to: Mislav Mislav

Activity

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

    What version of Rails are you on? 1.2.3? I can't replicate this on edge.

    June 14th, 2007 @ 07:27 PM

  2. Mislav
    Mislav
    • State changed from hold to invalid

    I also can't replicate. But if you're using the stable branch and it still fails, please reopen this.

    June 14th, 2007 @ 07:27 PM

  3. Chris Wanstrath
    Chris Wanstrath
    • State changed from invalid to resolved

    Two people reported this independently, so I fixed in http://require.errtheblog.com/pl....

    June 14th, 2007 @ 07:27 PM

  4. Scott Becker
    Scott Becker

    Cool. I was going to get around to testing this with different versions of Rails and what-not today, but this makes it unnecessary. Thanks!

    June 14th, 2007 @ 07:27 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.