Bump rails to 4.2.0.beta4

Change-Id: I3a1cec1a9c15cbe2270b1bbd87379a5821799d7d