discourse/discourse — pull request #1019 by ZogStriP (2013-06-12 23:46:56+00:00)
Title: added a reverse index of user uploads + rake task

This adds a reverse index of user uploads (ie. mapping posts to uploads).
There's also a rake task (`rake images:reindex`) to backfill the index.