Displaying 1 result from an estimated 1 matches for "defer_for_transact".
2006 Jul 07
0
acts_as_ferret transactions
...==================================================
--- lib/acts_as_ferret.rb (revision 59)
+++ lib/acts_as_ferret.rb (working copy)
@@ -496,7 +496,8 @@
module InstanceMethods
attr_reader :reindex
- @ferret_reindex = true
+ @ferret_reindex = false
+ @defer_for_transaction = false
def ferret_before_update
@ferret_reindex = true
@@ -505,9 +506,13 @@
# add to index
def ferret_create
- logger.debug "ferret_create/update: #{self.class.name} :
#{self.id}"
- self.class.ferret_index << self.to_doc...