[PLAT-167] Upgrade Rails to 4.1