fixed dependency for rails 4