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

Monday, August 25 2008
230 can't get will_paginate to work was updated in Plugins
  • Mislav
    • State changed from open to invalid
    by Mislav at 11:01 AM
Sunday, August 10 2008
240 will_paginate repeat problem was updated in Plugins
  • Mislav
    Mislav commented at 7:01 PM

    That isn't my code if it breaks. You re-typed it wrong, that's why you have a syntax error. But OK, you fixed it by yourself.

    I'm not getting why aren't there ...

  • Mislav
    Mislav commented at 11:17 AM

    I'm not sure. The line that you have should be working:

    
    @projects = @cats.projects.paginate :page => params[:page], :per_page => 4, :order => 'date DESC'
    

    :pe...

  • Mislav
    • State changed from new to invalid
    by Mislav at 6:26 AM

    Ah, I see now where your troubles are.

    Thanks for showing me, I didn't understand that "cats" was short for "categories". In Ruby, it's best to avoid abbreviat...

  • Mislav
    Mislav commented at 4:41 AM

    Hey Maggie,

    Unless you think this is a will_paginate bug, support questions are better asked on the "will_paginate" Google group. But now that you asked here, ...

Saturday, August 09 2008
223 Infinite loop in will_paginate with has_many :through was updated in Plugins
  • Mislav
    Mislav commented at 2:03 AM

    Nate Wiger: are you using any plugins that hook into ActiveRecord?

Wednesday, August 06 2008
237 paginate_by_sql fails when using Oracle and the jdbc driver. was updated in Plugins
  • Mislav
    • State changed from new to open
    by Mislav at 6:14 AM

    I see now. I'll try to take a different approach of just adding the "AS ..." alias explicitly to databases which need it.

Monday, August 04 2008
237 paginate_by_sql fails when using Oracle and the jdbc driver. was updated in Plugins
  • Mislav
    • Tag changed from will_paginate to oracle, will_paginate
    by Mislav at 8:32 AM

    Interesting. And how will removing those lines of code fix the problem with Oracle?

Wednesday, June 11 2008
222 Edge Rails and mislav-will_paginate gem don't work together was updated in Plugins
  • Mislav
    • State changed from open to resolved
    by Mislav at 5:16 AM

    Closing as resolved. The next will_paginate gem version 2.5 will not have any dependencies. Until then, if you're using vendored Rails, use vendored will_pagin...

215 will_paginate causing SystemStackError on has_many :through associations was updated in Plugins
  • Mislav
    • State changed from new to resolved
    • Assigned user changed from Chris Wanstrath to Mislav
    by Mislav at 5:13 AM