reviewed/reviewed-api-ruby — pull request #6 by incorvia (2013-09-10 16:29:52+00:00)
Title: Attachments

The API for attachments was sort of broken when considering lazy loading. The previous api was:
article.attachments("tag", opts = {})

The assumption here was that you would always be asking for attachments via the tag name and you could also pass options. The better API (imo) is to just pass 'options' of which tags: [] is one of them..

article.attachments(tags: ['foobar'], page: 3)

One thing this FIXES is that the hero decorator needs to be able to ask for multiple tags and have a fallback order.. The old method did not support multiple tags.. this one does..