added John Quarles' rails project solution