changing dependecny to rails 4