will_paginate 'stack level too deep'
Continuation of:
undefined method `will_paginate', Rails 3.1 / DataMapper
pl开发者_开发问答acing
= will_paginate @collection_of_objects
anywhere in my template but at the top generates
stack level too deep
Extracted source (around line #):
error.
Why? Having to put the pager only at the top of a template is unacceptable. It doesn't work in a partial either (same message).
I've just released will_paginate 3.0.3 with a bunch of DataMapper fixes.
精彩评论