fixing up the rails project a bit