Tag: ruby

Correcting your rcov report for untested code

I’ve used rcov for a long time to check the code coverage on my Ruby applications. Code coverage shows what parts of an application have not been tested. It can be abused if it’s used as an absolute metric (must be 99%+) but it’s great to see where fragile parts might be located. A problem …

Read more

2009 Goals

Everyone’s talking about their 2009 goals now, I guess the New Year tends to do that to people. Not to feel left out, I’m posting my 2009 goals. As a freelancer and a software developer, a lot of them are about building new software applications and learning technology. One thing I learned in 2008, was …

Read more

Redmine Railroaded – Model and Controller diagrams

With large systems, it’s useful to be able to visualize the relationships between the different components and systems. Redmine is no exception, weighing in at a hefty 286 classes and almost 14,000 lines of application code. The RailRoad gem aims to help automate the generation of Ruby on Rails class diagrams, showing methods and fields …

Read more

Hosting git-wiki with Phusion Passenger

I recently converted my server to use Phusion Passenger to host my Rails and Rack applications. Phusion Passenger has pretty good for Rack applications and Sinatra but I was running into a lot of issues with hosting my git-wiki. After some debugging, I found git-wiki wasn’t loading the view path correctly while hosted under Passenger. …

Read more