karmi/tire — pull request #368 by martinciu (2012-06-05 09:37:52+00:00)
Title: Result decorator

Hi,

As I described in #364 I needed a way to merge attributes returned by ElasticSearch with model loaded from database. I needed to get merge them with values returned from `scritp_fields` (see #363).

So now search results returns array of `Results::Item` whenever you get load models for results or not and passes missing methods first to `attributes` array and than to loaded model.