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.

Mislav's latest activity

Tuesday, May 22 2007
23 Pagination breaks when :order is used was updated in Plugins
  • Mislav
    Mislav created the ticket at 11:00 PM

    Robert: "Is it just me being daft or does this break if you try and use :order with it? (on postgresql this gives errors about a missing GROUP BY clause when r...

18 will_paginate ignores the :include with has_many was updated in Plugins
  • Mislav
    • State changed from new to open
    • Assigned user changed from Chris Wanstrath to Mislav
    by Mislav at 5:05 PM

    Hmm I need to investigate is pagination really possible with eager loading because it relies on SQL limit and offset.

    Thanks for the report. BTW, your example...

22 Paginate view helpers was updated in Plugins
  • Mislav
    Mislav created the ticket at 4:58 PM

    Not everyone wants Digg-style pagination. There should be helpers to render just "previous/next" links.

    Maybe reuse the same helper?

    <%= will_paginate @entri...
21 Extract pagination logic was updated in Plugins
  • Mislav
    Mislav created the ticket at 12:07 PM

    Pagination logic could be extracted so people can use it for things like find_by_sql.

    Also, right now you shouldn't be able to call paginate_by_sql.

Friday, May 18 2007
17 will_paginate breakage starting in r203 was updated in Plugins
  • Mislav
    • State changed from resolved to open
    by Mislav at 2:24 AM
  • Mislav
    Mislav commented at 2:24 AM

    So it was confirmed. Reopening this...

Wednesday, May 16 2007
17 will_paginate breakage starting in r203 was updated in Plugins
  • Mislav
    Mislav commented at 3:49 AM

    You are saying that it still blows up looking for missing Hash#slice method? That can't be. In [221] I have put the definition in init.rb

    I have tested it wit...

Tuesday, May 15 2007
17 will_paginate breakage starting in r203 was updated in Plugins
  • Mislav
    • State changed from open to resolved
    by Mislav at 1:46 PM

    Fixed in [221]. But, your old pagination code is probably obsolete; refer to the README to learn how to update. (It should take you 10 minutes at most once you...

Wednesday, May 09 2007
9 will_paginate for single models was updated in Plugins
  • Mislav
    • State changed from open to invalid
    by Mislav at 4:53 PM

    It's clear to me that Steven didn't understand that "paginate" methods is just a wrapper (kinda) for "find", so they can do anything "find" can.

    Anyway, [203]...