Hi guys
Can i get some reference for studying all ActivRecord API related to DB transactions.
Hi guys
Can i get some reference for studying all ActivRecord API related to DB transactions.
Hopefully this would help : ActiveRecord::Base
Another good link:
http://api.rubyonrails.org/classes/ActiveRecord/Transactions/ClassMethods.html
Andrew
It is also good to know that the "save" and "destroy" methods already use transactions to ensure before and after callbacks.