I discovered redirect_to :back a while ago, which is perfect for forms that can originate from multiple pages.
But tonight I stumbled across it’s long-lost twin sister:
link_to 'Cancel', :back
Fantastic. Forget deterministic, state-based site diagrams, information architecture and your woven sales path. Instead, welcome the amorphous future, where you only need to know where you came from and where you’re going.


