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

Sunday, December 23 2007
129 will_paginate should make sure that the page param is an integer was updated in Plugins
  • Mislav
    • State changed from invalid to resolved
    by Mislav at 3:26 PM

    In revision [421], WillPaginate::InvalidPage error is thrown on invalid input in :page parameter. WillPaginate::Collection doesn't even accept nil as page valu...

156 [PATCH] Collection.create should handle nil page was updated in Plugins
  • Mislav
    • State changed from invalid to resolved
    by Mislav at 3:26 PM

    In revision [421], WillPaginate::InvalidPage error is thrown on invalid input in :page parameter. WillPaginate::Collection doesn't even accept nil as page valu...

Wednesday, December 19 2007
149 Problem with using complex joins was updated in Plugins
  • Mislav
    Mislav commented at 7:51 AM

    I don't understand, what is the issue here? What is the error message? What SQL gets generated? What was expected? Thanks

148 Allow filtering of what params get serialized was updated in Plugins
  • Mislav
    • State changed from open to invalid
    by Mislav at 7:25 AM

    Follow #119, I'll post updates about this issue there... You'll be able to control params in page links

162 Change controller name.. was updated in Plugins
  • Mislav
    • State changed from open to invalid
    by Mislav at 7:25 AM

    Follow #119, I'll post updates about this issue there

163 Change controller name.. was updated in Plugins
  • Mislav
    • State changed from open to invalid
    by Mislav at 7:25 AM

    Follow #119, I'll post updates about this issue there

161 order not honored with uniq was updated in Plugins
  • Mislav
    • State changed from open to invalid
    by Mislav at 7:18 AM

    Hey Shirl,

    This is in fact your fault. You're mixing database operations with local ones (the uniq method on Arrays). This is not a good approach, since you a...

165 [PATCH] custom link generation was updated in Plugins
  • Mislav
    • State changed from new to open
    • Title changed from PATCH for will_paginate: custom link generation to [PATCH] custom link generation
    by Mislav at 7:07 AM

    Thanks! I wanted to do this for a long time now, this got me focused on the issue and I'll try applying it in several days. Hopefully the will_paginate helper ...

156 [PATCH] Collection.create should handle nil page was updated in Plugins
  • Mislav
    • State changed from open to invalid
    by Mislav at 6:37 AM

    In Ruby, try doing this:

    2 + "2"
    

    You'll get an error that String cannot be coerced into Fixnum. This is because Ruby is strictly typed and it won't try to d...

170 list mode enhancement was updated in Plugins
  • Mislav
    • State changed from new to open
    • Title changed from will_paginate enhancement to list mode enhancement
    by Mislav at 6:24 AM

    Hi, thanks for the suggestion/patch!

    I've been planing to make a list mode for some time now, your code might help me to do it faster :)