The transaction method is executed within the context of the active
record class for the excution of the all transactions.
Ex
Account.transaction do
account1.deposit(100)
account2.withdraw(100)
end
But i want to execute the transaction within the context of more than
on active record class then what would be the solution? How should i
specify the context?
Plz suggest me.
Thanks.