receiving an Ash Error and don't understand why
question about this error. I'm trying to setup something similar in my app that the Tunez book does. Following an artist, but I'm wanting to like a post. Here's the code
The attached message shows the queries to start to fire off but then runs into an Ash exception.
2 Replies
Hummmmm
At first glance that looks right to me
Maybe silly, but try replacing
:user_id
with :something_random
one at a time until it shows up in the error message, then you know which one is the problem 🙂@Failz try maybe this 👀
I think
:liked_posts
used like_relationships
destination attribute :user_id
which made App.Elevate.Post
that it doesn't know that reference