search for: at_commit_transaction

Displaying 1 result from an estimated 1 matches for "at_commit_transaction".

2006 Jul 07
0
acts_as_ferret transactions
...end true end + + def at_start_transaction(name = nil) + @defer_for_transaction = true + end + + def at_abort_transaction(name = nil) + @defer_for_transaction = false + @ferret_reindex = false + end + + def at_commit_transaction(name = nil) + @defer_for_transaction = false + ferret_create + @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_obj...