removing rails 4 dependency