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

Saturday, October 13 2007
129 will_paginate should make sure that the page param is an integer was updated in Plugins
  • Mislav
    • State changed from open to invalid
    by Mislav at 4:57 PM

    Sorry, but I just don't see any value in this. If someone written 'asdfds' for :page parameter, the application should break in my opinion.

    Whoever wants to s...

128 Array#paginate is inconsistent with collection#paginate was updated in Plugins
  • Mislav
    • State changed from open to resolved
    by Mislav at 4:52 PM

    Why didn't the commit hook close this, I wonder

Friday, October 12 2007
129 will_paginate should make sure that the page param is an integer was updated in Plugins
  • Mislav
    • Assigned user changed from Chris Wanstrath to Mislav
    • State changed from new to open
    by Mislav at 6:18 PM

    And how does :page parameter get to be "abc" or "0" in the first place?

128 Array#paginate is inconsistent with collection#paginate was updated in Plugins
  • Mislav
    • Assigned user changed from Chris Wanstrath to Mislav
    • State changed from new to open
    by Mislav at 6:17 PM
Thursday, October 11 2007
79 include :select if it begins with 'DISTINCT' was updated in Plugins
  • Mislav
    Mislav commented at 6:10 AM

    DEkart,

    What sense does that make? My solution has unit tests that passes.

Sunday, October 07 2007
120 Association with finder_sql raises TypeError was updated in Plugins
  • Mislav
    • State changed from open to invalid
    by Mislav at 12:04 PM

    I've given it a go, but it seems too hard to support right now. Fixing ActiveRecord would be involved and I'm not sure if I should do it.

    So, if you have manu...

79 include :select if it begins with 'DISTINCT' was updated in Plugins
  • Mislav
    • State changed from open to resolved
    by Mislav at 11:42 AM

    Done in [403]

85 failures linked to association extensions was updated in Plugins
  • Mislav
    • State changed from open to invalid
    by Mislav at 9:23 AM

    Doh! You're using it all wrong. Do something like this

      has_many :prints, :through=> :taggings, :source=> :print, :uniq=>true do
        def find_for_user(user,...
Saturday, October 06 2007
125 handling an out of range page number was updated in Plugins
  • Mislav
    Mislav commented at 11:44 AM

    Blah, Lighthouse didn't pick up changeset 393 properly ... see it here: http://plugins.require.errtheblo...

  • Mislav
    • State changed from new to resolved
    by Mislav at 11:44 AM

    In [393] I have added an "out_of_bounds?" method that returns true in conditions you've described. You can use it to decide what to do in your controllers or w...