josegonzalez/upload — pull request #140 by bcrowe (2013-07-17 00:30:49+00:00)
Title: Corrected documented aliases' conditions for polymorphic relationships

In the aliased relationships, having the conditions key as Attachment.model results in "...Unknown column 'Attachment.model' in 'where clause'...", as the query selects from Attachment as 'Image' or 'Video'.