Reverting back to rails 4.0.x for now