temp upgrade rails to 4.2.0.beta2 to fix https://github.com/rails/rails/issues/15931