Is it possible to put associations in their model definitions too? #12996
Unanswered
Hiroki111
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found that if I don't put all the associations (hasMany, etc) into one file, I get the following error.
I solved it by putting all the associations into one file. This solution was found from this post on Stackoverflow.
Still, I don't think it's a good approach, because
Is it possible to put associations seperately?
Beta Was this translation helpful? Give feedback.
All reactions