Pivot table / has_many relationship
Hey all. I have a table that is structured as:
one question HAS MANY answers. We're getting the data as:
I'd like the headers to be the "question" fields, and need to pivot answers to be row based. Is there an easy way to do this? Or any advice on how to solve it?
2 Replies
eastern-cyan•3y ago
@nimo
loud-coralOP•3y ago
@shadowshine1 ?