add find_by_transaction_id method to ledger model