Updated to devise 3.4.0 and rails 4.2.0.beta2