lib/picky/sources/couch.rb in picky-0.12.1 vs lib/picky/sources/couch.rb in picky-0.12.2

- old
+ new

@@ -22,10 +22,10 @@ end # Harvests the data to index. # def harvest type, category - category_name = category.name.to_s + category_name = category.from.to_s get_data do |doc| yield doc['_id'].to_i, doc[category_name] || next end end