Upgrade rails dependency.