#185 ✓resolved
Tyler Jennings

will_paginate remotely (link_to_remote)

Reported by Tyler Jennings | February 5th, 2008 @ 05:56 PM

I patched will_paginate to support link_to_remote through a new :update option. Helper w/remoting looks like this:

<%= will_paginate @pages, :update => "story_box", :params=> {}%>

.diff with tests included.

Comments and changes to this ticket

  • Tyler Jennings

    Tyler Jennings February 5th, 2008 @ 06:17 PM

    • Title changed from “will_paginate remotely (link_to_remote) patch” to “[patch] will_paginate remotely (link_to_remote)”
  • Tyler Jennings

    Tyler Jennings February 5th, 2008 @ 06:25 PM

    I just found this ticket:


    I'm all for opinionated software, but it seems an unfortunate choice to break with rails here. This is a rails plugin, afterall.

    Graceful degradation is a bigger commitment for a site than a JS library and a few extra lines of code. Why can't I have it either way?

  • Mislav

    Mislav February 7th, 2008 @ 10:47 AM

    • Assigned user changed from “Chris Wanstrath” to “Mislav”
    • State changed from “new” to “open”

    Because the main maintainer for will_paginate is a JavaScript guy :)

    Thanks for the patch. I'll close this ticket when I either apply it or make an unobtrusive, drop-in alternative.

  • Mislav

    Mislav October 8th, 2008 @ 11:11 PM

    • Title changed from “[patch] will_paginate remotely (link_to_remote)” to “will_paginate remotely (link_to_remote)”
    • State changed from “open” to “resolved”
    • Tag set to ajax, patch, will_paginate

    The unobtrusive-drop in alternative can be found on the mailing list ... closing

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.

New-ticket Create new ticket

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!