Started to upgrade to rails 4