Uninitialized constant WillPaginate::LinkRenderer

This is becoming painful. Where the file should be? What should be in
it? I am running will_paginate 3.0.pre

Here is my current code sitting in initializers/

class WillPaginateRenderer < WillPaginate::LinkRenderer
def rel_value(page)
“nofollow”
end
end

Thanks for your help,

This became painful for me too, until I inspected the class hierarchy
of the new will paginate. You need to extend
WillPaginate::ViewHelpers::LinkRenderer instead.

David wrote:

This became painful for me too, until I inspected the class hierarchy
of the new will paginate. You need to extend
WillPaginate::ViewHelpers::LinkRenderer instead.

Thanks! It should be better documented when they break things.