These are 2 basic questions that I'm stuck with:
1. Going ':back' to the referring page
I'd like to create a link that allows the user to go to the referring page. I saw this solution:
<%= link_to 'Back', @request.env["HTTP_REFERER"] %>
Is this the only practical way?
2. How do I formulate a transaction across two tables?
I want to delete a "request" if I can successfully save the "data" - the examples in AWDWR (i think) only talk about transactions on 1 table and specifically say that it's not supported across databases.. but have been unable to determine anything about two tables in the same database...