Hi! I want to create a nested record (has_many), s...
# avo-2
e
Hi! I want to create a nested record (has_many), so I found this guide in Avo docs (https://docs.avohq.io/2.0/recipes/nested-records-when-creating.html) Here is custom template with needed fields in step 5, but in my case, I need almost all model fields. And I already have Avo resource for nested model. Is it possible to render resource instead of duplicating all these model fields into erb template? Or better way to implement desired logic?
l
Hey Volodymyr. Thanks for writing
Unfortunately we don’t have that feature yet
We have a PR for Avo 3 to bring that functionality but the might take a month or teo to land in stable
e
Got it. Thanks for the answer!
l
That guide is there as a proof of concept and as a quick and dirty way of implementing that feature
Better than nothing 😅