lib/thinking_sphinx.rb in thinking-sphinx-allen-1.3.18.2 vs lib/thinking_sphinx.rb in thinking-sphinx-allen-1.3.18.3

- old
+ new

@@ -127,10 +127,10 @@ Thread.current[:thinking_sphinx_deltas_enabled] = value end def self.delta_by_thinking_sphinx? - Thread.current[:delta_by_thinking_sphinx].nil? ? true : Thread.current[:delta_by_thinking_sphinx] + Thread.current[:delta_by_thinking_sphinx].nil? ? false : Thread.current[:delta_by_thinking_sphinx] end # index delta by thinking_sphinx, especially active_record callbacks def self.delta_by_thinking_sphinx=(value) Thread.current[:delta_by_thinking_sphinx] = value