Eager loading does not seem to work #1436
lpe
started this conversation in
Feature feedback
Replies: 1 comment 2 replies
-
They seem to be working in the dummy app in the latest version. Can you try and create a reproduction example that we can check?
class PostResource < Avo::BaseResource
self.includes = [:user, :tags]
field :tags,
as: :tags,
# readonly: true,
acts_as_taggable_on: :tags,
close_on_select: false,
placeholder: "add some tags",
suggestions: -> { Post.tags_suggestions },
enforce_suggestions: true,
help: "The only allowed values here are `one`, `two`, and `three`"
end |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using gem "acts-as-taggable-on"
Does not avoid n+1 on accounts/index :
...
Any idea ?
Beta Was this translation helpful? Give feedback.
All reactions