lib/sunspot/indexer.rb in sunspot-2.1.0 vs lib/sunspot/indexer.rb in sunspot-2.1.1

- old
+ new

@@ -42,9 +42,10 @@ # # Remove the model from the Solr index by specifying the class and ID # def remove_by_id(class_name, *ids) + ids.flatten! @connection.delete_by_id( ids.map { |id| Adapters::InstanceAdapter.index_id_for(class_name, id) } ) end