As i promised yesterday i created a minimal example using the official docs of the phoenix guides for an assoc from this link https://hexdocs.pm/phoenix/contexts.html#in-context-relationships
But still can’t manage to build the assoc by using the guide.
So for my example i used:
Even though i get no errors i don’t get an category_id in the posts table after i create a post.
I uploaded the full code to GitHub maybe someone can explain to me why this is happening.
here is the link https://github.com/wolfiton/balu.
Also I think the wierd part is that the select for categories is displayed correctly and i get no error when I submit the new post with a category selected.