Rails Scaling Optimization Exercise