diff --git a/app/controllers/mpa_controller.rb b/app/controllers/mpa_controller.rb index 7c3e359..bbfcb7f 100644 --- a/app/controllers/mpa_controller.rb +++ b/app/controllers/mpa_controller.rb @@ -26,7 +26,7 @@ def pept2data end end - taxa = Taxon.find(@response.values).includes(:lineage) + taxa = Taxon.includes(:lineage).find(@response.values) @lineages = Hash.new taxa.each do |taxon|