lib/sunspot.rb in outoftime-sunspot-0.8.5 vs lib/sunspot.rb in outoftime-sunspot-0.8.8

- old
+ new

@@ -345,11 +345,11 @@ # ==== Parameters # # classes...<Class>:: # classes for which to remove all instances from the index def remove_all!(*classes) - session.remove_all(*classes) + session.remove_all!(*classes) end # # True if documents have been added, updated, or removed since the last # commit. @@ -383,10 +383,10 @@ # # Resets the singleton session. This is useful for clearing out all # static data between tests, but probably nowhere else. # def reset! - @session = nil + @session = Session.new(session.config) end private #