remove rails 3 dependencies