jcasimir/draper — pull request #134 by tomasc (2012-02-26 14:17:49+00:00)
Title: Pass options of self.decorates_association to self.decorate

This allows to set { infer: true } in self.decorates_association and in turn decorate each member of polymorphic association with decorator inferred from its own class.

```ruby
class DocumentDecorator < ApplicationDecorator
decorates_association :items, { infer: true }
end
```