I have a collection of 3 types of objects, Posts, Products, and Content. I want to put all of these objects into a feed and order them by when they were created. I've done all that. The issue I'm having is I want to have a different partial for each item. How would I do that?
Here's the controller action getting all the objects:
@stream = current_user.stream