I am trying to understand the hint in exercise 3.14 in Atiyah–Macdonald.
Let $M$ be an $A$-module and $\mathfrak a$ be an ideal of $A$. Suppose that $M_{\mathfrak m} = 0$ for all maximal ideals $\mathfrak m \supseteq \mathfrak a$. Prove that $M = \mathfrak a M$.
Hint. Pass to the $A / \mathfrak a$-module $M / \mathfrak a M$ and use (3.8).
Where (3.8) refers to
$M = 0 \Leftrightarrow M_{\mathfrak m} = 0 \; \forall \mathfrak m$ maximal.
I don't quite understand why the hint suggests to regard $M / \mathfrak a M$ as $A / \mathfrak a$-module, rather than as $A$-module. I think we even have as $A$-modules
$M / \mathfrak a M = 0 \Leftrightarrow (M / \mathfrak a M)_{\mathfrak m} = 0$ for all $\mathfrak m \subset A$ maximal.
But $(M / \mathfrak a M)_{\mathfrak m} \simeq M_{\mathfrak m} / (\mathfrak a M)_{\mathfrak m}$ which is 0 by assumption.
I think that passing to the condition for $A / \mathfrak a$-modules is more complicated. Is the above argument correct?