Specify Rails = 3.1.8 for mocha compatibility