Localization of a ring

We will denote by S−1R, where S is a multiplicatively closed subset of R, the ring of fractions of R with respect to S (see definition \cite{atiyah} page 36).
(By the way, if R is an integrity domain, S=R−{0} is multiplicatively closed and S−1R is the field of fractions of R.)
If p is a prime ideal of R then S=R−p is multiplicatively closed, and we denote

Rp=S−1R.

It is called the localization of R at p. The elements of the form a/s with a∈p and s∉p form an ideal m of Rp which is maximal. Take b/s∉m, i.e., b∉p.
Then, clearly, b/s is a unit so m is maximal and is unique. In other words: Rp is a local ring.