Let $R$ be an integral domain, and $F$ an $R$-module. Prove $F$ is flat if and only if for every ideal $I$ of $R$, the $R$-module $I\otimes _RF$ is torsion-free.
Here's my weak attempt to solve it:
($\Rightarrow$) Assume $F$ is flat then every $I\otimes _RF\rightarrow R\otimes _RF$ is injective. I know $M$ is torsion-free if and only if $M\rightarrow M_Q$ is injective. And $Q$ is flat as an $R$ module. But I can't draw any conclusion from that information.
($\Leftarrow$) The $R$-module is $I\otimes _RF$ is torsion-free. We want to show $I\otimes _RF\rightarrow R\otimes _RF$ is injective which would imply $F$ is flat. But I don't know how to prove it.