Using Rails to build a simple digital clock display in a web browser