change rails 4 dependency