mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-28 02:27:57 +08:00
Remove needless join from MyModuleGroup
This commit is contained in:
parent
77ed1c5fd3
commit
1a1c4bb68a
1 changed files with 0 additions and 1 deletions
|
@ -30,7 +30,6 @@ class MyModuleGroup < ActiveRecord::Base
|
|||
|
||||
new_query = MyModuleGroup
|
||||
.distinct
|
||||
.joins(:experiment)
|
||||
.where("my_module_groups.experiment_id IN (?)", exp_ids)
|
||||
.where_attributes_like("my_module_groups.name", a_query)
|
||||
|
||||
|
|
Loading…
Reference in a new issue