Fun fact! Iterating through partials is very slow.
That’s because we are iterating the rendering of the partial. For each [item], Rails needs to “open” the partial and evaluate it. The solution? Use collections.
Also fun fact: we do the bad thing on all the work and bookmark listings. /o\ (Also in other places which will get issues later.)
So let's use collections instead, as recommended in the linked post.
Go to a works index (user, tag, collection, main – doesn't matter) and ensure it works (i.e. doesn't give a 500 error).
Go to the dashboard of a user with works, series, and bookmarks and ensure it works.
For bookmarks, check that the following pages work (each page has slightly different code):