Has many/Belong to association with a record that already exist #6059
Unanswered
nomorechokedboy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have 2 struct as below. My question is how can I create a row of product with categoryId send from frontend
If I use the code above, it will work, but when I find one/find many, I can't use Preload nor Joins method neither, category will always be
{1 "" nil}
when I preload or join associationBeta Was this translation helpful? Give feedback.
All reactions