Adding an association in an action based on argument
Hey, been a few minutes since I've done any work on an Ash project, hoping someone can jog my memory on how to accomplish something.
Basically, I've got two resources,
Been searching the docs, but I can't really figure out how to take my argument and add the association
I was thinking it's something like using
Thanks!
Basically, I've got two resources,
Maps.Map and Pin , where a Pin belongs to a Map. I want to pass an existing Map to the Pin as part of the create action. like soBeen searching the docs, but I can't really figure out how to take my argument and add the association
I was thinking it's something like using
change like so, but not quiteThanks!
