Set transaction isolation level in the ActiveRecord in a database agnostic way.