In my app, a Post has_many
Comments and a Comment belongs_to
Post (modeled via the has_one
relationship in my serializers).
Since I get the Stack Level Too Deep
error message whenever I attempt to model both of these relationships in my serializers, I am wondering if I should keep the has_many
associations or the has_one
association.
I also have an initializer that embeds :id
s and sideloads the data.
Thanks for any help guys. I googled this I swear!