Displaying 1 result from an estimated 1 matches for "airsourc".
Did you mean:
airsource
2006 Aug 08
3
Database transactions
Hello,
I have an application where I need to create two records in a database
transaction.
ie:
begin
User.transaction(user) do
User_details.transaction(user_details) do
user.save
user_details.save
end
end
end
rescue
flash[:notice] "Insert rolled back... but why..??"
end
>From reading the Agile book, I gather that once I wrap the