lib/inquisitio/searcher.rb in inquisitio-0.1.2 vs lib/inquisitio/searcher.rb in inquisitio-0.1.3

- old
+ new

@@ -38,9 +38,10 @@ klasses[klass] ||= [] klasses[klass] << result['data']['med_id'].first end klasses.map {|klass, ids| + klass = klass.gsub("_", "::") klass.constantize.where(id: ids) }.flatten end end