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.

There was a problem

You must be a member of this account.

Mislav's latest activity

Sunday, December 21 2008
256 Double page params when using merb 1.0.6.1 was updated in will_paginate library
  • Mislav
    • State changed from new to resolved
    by Mislav at 8:06 PM

    (from [f2031833b42eaaa10a92b551846e3d4e94fb486a]) use string key for 'page' parameter when constructing URLs in Merb [phatmann] [#256 state:resolved] http://gi...

wrap a test that uses Mocha in #uses_... was committed by Mislav Marohnić at 8:03 PM
change concat calls in #paginated_sec... was committed by Mislav Marohnić at 8:03 PM
Friday, December 12 2008
255 paginate very slow on large queries with :group was updated in will_paginate library
  • Mislav
    • State changed from open to resolved
    by Mislav at 2:23 AM

    No prob ;)

Thursday, December 11 2008
255 paginate very slow on large queries with :group was updated in will_paginate library
  • Mislav
    • State changed from new to open
    by Mislav at 11:45 PM

    That's rather unfortunate.

    Does this help?

    
    Model.paginate :page => 1, :per_page => 10,
      :group => 'foo', :count => { :group => nil }
    

    That will cause the ...

Wednesday, December 10 2008
254 Chaining named scopes with paginate doesn't work with MS SQL Server was updated in will_paginate library
  • Mislav
    Mislav commented at 12:26 PM

    In the latest application I'm developing, we're really putting named scopes to the max and so far I haven't seen a single MySQL query generated incorrectly.

    So,...

Tuesday, December 09 2008
247 will_paginate helper doesn't work with has_and_belongs_to_many associations. was updated in will_paginate library
  • Mislav
    • State changed from open to invalid
    by Mislav at 4:00 PM

    This is because of a bug in ActiveRecord with Ruby 1.8.7.

    I've investigated and it looks like ruby 1.8.7 + ActiveRecord 2.1.1 = FAIL

    It's been fixed in Rails co...

Tuesday, November 25 2008
253 visible_page_numbers is O(n) where n is the number of pages was updated in will_paginate library
  • Mislav
    • State changed from new to resolved
    by Mislav at 12:42 AM

    Good point. Thanks

Friday, November 07 2008
252 git merge braid/track hit Fatal: Not a git repository was updated in will_paginate library
  • Mislav
    • Title changed from Fwd: git merge braid/track hit Fatal: Not a git repository to git merge braid/track hit Fatal: Not a git repository
    • State changed from new to invalid
    by Mislav at 12:39 PM

    There is mention of SVN in your error messages. That's pretty weird, because will_paginate is entirely hosted in a git repository.

    This is not a will_paginate b...

Thursday, October 30 2008
251 Do you still need activesupport as a gem dependency? It breaks stuff... was updated in will_paginate library
  • Mislav
    Mislav commented at 12:24 PM

    Oh, I missed that you said "activate your gems" instead of "require". All is well ;)