rails/rails — pull request #15125 by arthurnn (2014-05-15 18:00:08+00:00)
Title: Small refactoring on clear_transaction_record_state

Make sure when we clean the `@_start_transaction_state` var we do it in
the same code-path.
Also this makes `clear_transaction_record_state`, more consistent with `restore_transaction_record_state`

This will make it easier the future changes we are planing for transactions.

review @chancancode @rafaelfranca