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

James's latest activity

Thursday, March 19 2009
1915 rake stats bad method count was updated in Ruby on Rails
  • James
    James commented at 10:33 PM

    You might want to try a slightly more stringent regex, something like...

    
    stats["methods"] += 1 if line =~ /test ("(\\.|[^"\\])*"|'(\\.|[^'\\])*') do /
    

    Rela...

2299 Improve class counts for 'rake stats' was created in Ruby on Rails
  • James
    James created the ticket at 5:13 PM

    I've noticed that 'rake stats' does not a very good job of counting classes that have been reopened. I tend to use namespacing and inner classes quite a lot whe...