We have a _user
partial that we want to render from two different resources, passing a collection.
The only thing that needs to change in the partial is the path inside the link_to
helper.
We can use self.send("path", object)
inside link_to
to achieve this.