You’re not receiving notifications from this thread.
How do I make commentable comments available on the index page?
I've got the polymorphic comments working on the two show pages, but I want to show all my posts (and reports) along with their comments on the two respective index pages. I can't seem to get it.
Did you get it working? I wasn't around for the holidays for a bit.
I believe you can eager load the comments through the association in the index query and then just use the association to render them out on the index page. Is that what you ended up doing?
Yes, thank you. Now I am working on ajaxifying the comments. Anything I should watch out for?