Displaying 1 result from an estimated 1 matches for "commit_transaction_object".
2006 Jul 07
0
acts_as_ferret transactions
...@ferret_reindex = false
+ end
# convert instance to ferret document
def to_doc
@@ -786,4 +806,28 @@
end
end
+module Transaction
+ module Simple
+ alias :start_transaction_object :start_transaction
+ alias :abort_transaction_object :abort_transaction
+ alias :commit_transaction_object :commit_transaction
+
+ def start_transaction(name = nil)
+ at_start_transaction(name) if respond_to?(:at_start_transaction)
+ start_transaction_object(name)
+ end
+
+ def abort_transaction(name = nil)
+ at_abort_transaction(name) if respond_to?(:at_abort_transaction)
+...