Cant run rake tasks when WillPaginate is in project
Reported by Adam | July 10th, 2007 @ 01:42 PM
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
Comments and changes to this ticket
-
Adam July 10th, 2007 @ 01:42 PM
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!
-
Chris Wanstrath July 10th, 2007 @ 01:42 PM
- 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]
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 your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Everyone's favorite Ruby library for pagination of practically anything!