the app upgraded to rails 4