Re-do of the sample app from the rails tutorial