From 7e89a0c47045242c4a091befb1df4146af935b34 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Thu, 29 Feb 2024 11:53:47 +0100 Subject: [PATCH] rails apparently wants a specific method order --- app/controllers/mpa_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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|