Code used during my investigation into Ruby and Rails