Skip to content

Is there a way to "un-nest" association? #290

Answered by trevorturk
oskargargas asked this question in Q&A
Discussion options

You must be logged in to vote

There might be a better answer for this, but one possible solution would be to simply define a method in your resource which calls the relevant method on the associated model.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@oskargargas
Comment options

@trevorturk
Comment options

Answer selected by okuramasafumi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants