Displaying 1 result from an estimated 1 matches for "at_start_transaction".
2006 Jul 07
0
acts_as_ferret transactions
...index = true
+ else
+ logger.debug "deferred ferret_create/update:
#{self.class.name} : #{self.id}"
+ end
true
end
alias :ferret_update :ferret_create
@@ -522,6 +527,21 @@
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
+...