Upgrade rails to fix exploit