Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

will_paginate remotely (link_to_remote)

#185

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.

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

State: resolved
Milestone: none
Assigned to: Mislav Mislav

Activity

  1. Tyler Jennings
    Tyler Jennings
    • Title changed from will_paginate remotely (link_to_remote) patch to [patch] will_paginate remotely (link_to_remote)

    February 5th, 2008 @ 06:17 PM

  2. Tyler Jennings
    Tyler Jennings

    I just found this ticket:

    http://err.lighthouseapp.com/pro...

    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?

    February 5th, 2008 @ 06:25 PM

  3. Mislav
    Mislav
    • 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.

    February 7th, 2008 @ 10:47 AM

  4. Mislav
    Mislav
    • 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

    October 8th, 2008 @ 11:11 PM

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.