Use nested association loader for user_table

pull/11290/head
Javier Torres 8 years ago
parent 6401ba6099
commit 17a0e708eb

@ -126,11 +126,11 @@ class Carto::VisualizationQueryBuilder
end
def with_prefetch_table
with_eager_load_of(map: :user_table)
with_eager_load_of_nested_associations(map: :user_table)
end
def with_prefetch_permission
with_eager_load_of_nested_associations(:permission => :owner)
with_eager_load_of_nested_associations(permission: :owner)
end
def with_prefetch_external_source

Loading…
Cancel
Save