Displaying 1 result from an estimated 1 matches for "incident_id".
2006 Aug 01
1
Transactions within the Controller
Hi,
I have 2 models, how can I save both of them in one transaction?
I want to do something like this:
begin transaction
project.save
person.save
end transaction
The only examples I''ve seen is with saving 2 instances of the same model in a transaction.
thanks
scott.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: