massive update to rails 4