-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I replied to an older closed issue, but I don't think you saw it so trying as a new one.
Also, more docs about what to put in the .rjs file/etc would be handy. The example gives an idea, but I'm not sure that everyone clicks over to there.
Finally got around to trying this - now I'm getting a new error on the line that renders the pagination.
undefined method `total_pages_for_collection' for WillPaginate::ViewHelpers:Module
Callback:
/Users/inspire/.rvm/gems/ree-1.8.7-2010.02/bundler/gems/flow_pagination-6884aa57882a/lib/flow_pagination.rb:48:in last_page' /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/bundler/gems/flow_pagination-6884aa57882a/lib/flow_pagination.rb:12:into_html'
/Users/inspire/.rvm/gems/ree-1.8.7-2010.02/bundler/gems/will_paginate-b1a5beeec9f5/lib/will_paginate/view_helpers/base.rb:63:in will_paginate' /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/bundler/gems/will_paginate-b1a5beeec9f5/lib/will_paginate/view_helpers/action_view.rb:33:inwill_paginate'
actionpack (3.0.3) lib/action_view/template.rb:135:in send' actionpack (3.0.3) lib/action_view/template.rb:135:inrender'
activesupport (3.0.3) lib/active_support/notifications.rb:54:in instrument' actionpack (3.0.3) lib/action_view/template.rb:127:inrender'
actionpack (3.0.3) lib/action_view/render/rendering.rb:59:in _render_template' activesupport (3.0.3) lib/active_support/notifications.rb:52:ininstrument'
activesupport (3.0.3) lib/active_support/notifications/instrumenter.rb:21:in instrument' activesupport (3.0.3) lib/active_support/notifications.rb:52:ininstrument'
actionpack (3.0.3) lib/action_view/render/rendering.rb:56:in _render_template' actionpack (3.0.3) lib/action_view/render/rendering.rb:26:inrender_without_haml'
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:13:in `render'