摘要:
If you're usingrender, when the user refreshes the page, it will submit the previous POST request again. This may cause undesired results like duplicate purchase and others.But if you're usingredirect_to, when the user refreshes the page, it will just request that same page again. This is al 阅读全文