Updates Rails for SD and fixes issue on iPad