datamapper/dm-serializer — pull request #24 by d11wtq (2011-10-21 15:33:19+00:00)
Title: Use multi_json on the Collection as well as on the resources.

This fixes an exception when calling `#to_json` on a Collection, unless you happen to be in a project that has added `to_json` to Array (e.g. Rails, or a project depending on the 'json' gem).

No spec changes since they weren't failing before or after (not sure why?). There is a gist here showing quite clearly the bug though:

https://gist.github.com/1304016