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.

Ian Terrell's latest activity

Tuesday, July 13 2010
4807 ERROR Encoding::UndefinedConversionError: "\xC3" from ASCII-8BIT to UTF-8 was updated in Ruby on Rails
  • Ian Terrell
    Ian Terrell commented at 11:53 PM

    I've also encountered this error in a scripted data migration from an old MySQL database. Naturally Yehuda's patch doesn't affect this, but netloner's patch get...

Sunday, May 24 2009
2702 Single Table Inherited model generator was updated in Ruby on Rails
  • Ian Terrell
    Ian Terrell commented at 1:59 AM

    I like this. I'm constantly forgetting to turn off the migration and the fixture in the regular model generator.

Saturday, March 21 2009
2281 value_changed? helper method was updated in Ruby on Rails
  • Ian Terrell
    Ian Terrell commented at 8:12 PM

    For this use case, Enumerable#group_by still seems best. The &:symbol syntax is shorthand for a block; you can spell it out for cases where you wish to group by...

Wednesday, March 18 2009
2281 value_changed? helper method was updated in Ruby on Rails
Tuesday, March 17 2009
1334 Count calculations should respect scoped selects was updated in Ruby on Rails
  • Ian Terrell
    • Assigned user set to Pratik
    by Ian Terrell at 4:20 PM

    Crossed with Mike above. Reassigning.

  • Ian Terrell
    • Assigned user cleared.
    by Ian Terrell at 4:12 PM

    The previous attachment was just a "git diff." Attached is a properly formatted patchfile to add my failing test.

  • Ian Terrell
    Ian Terrell commented at 3:51 PM

    Attached is a patch that includes a failing test case.