remove only rails 3 dependency