Good morning guys How do I configure the
# avo-2
m
Good morning, guys. How do I configure the name field in to use as the title of the Avo resource in a child table (TeamMembership), but the name field stay in the parent table (Team) , without the N+1 problem? Or how to use any field from the parent table as the title of an Avo resource from a child table? If I create a method (def name) in the child table, the N+1 problem happens!
l
hey @microscopic-dream-82397 I would love to help but it's difficult to imagine that scenario. do you mind opening up an issue with some code and maybe some screenshots illustrating what you're trying to achieve?
m
I need to use in the title of a resource of a child table a field that is in the parent table
self.title = :parent.name
l
in order to avoid n+1, you should include that association
m
the name field doens't exist in child, only in the parent
l
don't get this the wrong way, I want to help, but it's difficult for me to imagine every secnario without looking at code. time is very limited on my side for support. we do have paid support plans if you're interested in that
so, help me help you. please open up a ticket with the resources you're using so I can see the code and respond fast
otherwise, we can switch to paid plans and in the time alloted, you can ask me how many questions you want 🙂
does that make sense?
all of the message above is with ❤️
@microscopic-dream-82397?
m
Thank you, Adrian. It's the least we can do for the excellent work they are doing. I'm waiting for version 3 to check the possible new types of licensing. Thank you again.
l
no. I didn't mean it like that. I don't mind helping (for free) but please meet me half way and understand that it's difficult for me to imagine your use case without seeing code
without code and context we might end up in a conversation for half an hour (or more) where I keep asking question after quaestion to try to understand what you're trying to achieve
it happens a few times every week
and that makes hours of my time every week. time that I could spend on other projects, with my family, etc.
all of that can be avoided with more context and some code
... and that code and context in a GitHub issue, not in this chat 😛
that's all
❤️
m
I work at a government institution, www.tce.ap.gov.br, and I want to present a small system in Avo so that the administration can see the benefits of the tool and how productive we can be. I'm on this path.
l
and I want to help with that
m
Thanks, I'll check that I didn't do anything wrong and include it on GitHub.
l
great! let me know hwo it went
m