downgraded to rails 4.1.0.beta2