Suppose we have commutative rings $A$ and $B$, a (maybe injective) ring homomorphism $f: A \rightarrow B$ and an ideal $I \subseteq A$. Is it true that $I^e \cong I \otimes_A B$, where $I^e$ denotes the extension of $I$ into $B$?
In other words, does the extended ideal have the same module structure as the module obtained through extension of scalars?