add Rails 4.2.0.beta1 to build for master
cherry-picked from 3.0-stable