Hi Ovirt,
Per discussion on IRC today, here is a link to some info on how to do
transactions (in the RDBMS sense) with ActiveRecord objects in Rails.
http://api.rubyonrails.org/classes/ActiveRecord/Transactions/ClassMethods.html
Good day.
--Steve Linabery