Displaying 1 result from an estimated 1 matches for "at_abort_transaction".
2006 Jul 07
0
acts_as_ferret transactions
...ass.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
+ ferret_create
+ @ferret_reindex = false
+ end
# convert instance to f...