Blowing-up and glueings in one-dimensional rings