"Could not relate to actor, as no actor was found (and :allow_nil? is false)"

Resource tweet.ex's create action currently includes change relate_actor(author) which causes the above error when trying to seed some data with Tweet.create. Is there a way to use this action as is for the seeding (without creating another action without relate_author)?
2 Replies
ZachDaniel
ZachDaniel3y ago
There is not. But you can create a user and set them as the actor.
jasono
jasono3y ago
Thank you!

Did you find this page helpful?