trying to update to rails 4