diff --git a/lib/grouped_scope/arish/relation/predicate_builer.rb b/lib/grouped_scope/arish/relation/predicate_builer.rb index 0b8b42b..09d0220 100644 --- a/lib/grouped_scope/arish/relation/predicate_builer.rb +++ b/lib/grouped_scope/arish/relation/predicate_builer.rb @@ -14,7 +14,7 @@ def build_from_hash_with_grouped_scope(engine, attributes, default_table, allow_ column, value = column_value attributes[column] = value.arel_table[column.to_s].in(value.ids_sql) end - build_from_hash_without_grouped_scope(engine, attributes, default_table, allow_table_name) + build_from_hash_without_grouped_scope(engine, attributes, default_table) end end