fix rails master branch tests