An exercise in object oriented rails development