Pages
Categories
Archives
Monthly Archives: April 2009
Letter loungin’
Yesterday, I put on an event with Claire Medcalf from Glovepuppet, and a few friends, called the letter lounge. As you'd expect from the name, we started it to help people get round to actually writing more letters to distant friends and relatives, and take the time to reflect and generally slow down somewhat, as [...]
Tea, Arduino and Dynamic Demand
It’s the next HomeCamp tomorrow. And in a spectacular feat of bad calendaring, I’ve managed to organise the Letter Lounge to take place on the day I’ve been looking forward to for the last few months are coming away from the initial HomeCamp, utterly inspired by what I saw there.
So to make up for not [...]
Posted in Journal Tagged arduino, carbon, code, dynamic demand, hacking, load balancing, tealight Leave a comment
How to set up a debugger with mod_rails/Passenger
Anyone who's worked on the web will know easy it is to end up constantly refreshing pages to see if the content delivered from say, a database driven site is the indeed content you want to show.
This is one approach, and while simple to understand, there are often other approaches available to this.
One example is using the ruby debugger, and break points in your code to inspect and control what is happening at each step, to see what variables are available.
This, combined with the more traditional tools for debugging a view using
@object.inspectordebug(@object)methods make fixing bugs less of a pain.As many of us transition from using Mongrel as our server to Passenger, we find ourselves missing this useful tool. This post outlines one way to setup a debugger for Passenger.