Ensure that transaction is open before use
Merge branch 'master' of github.com:Asgaroth/activerecord-relation-behavior