Changeset [c8af6b5e251f55e79eeec08cdcee89f7598c251b] by d11wtq

October 24th, 2011 @ 01:18 PM

Use multi_json on the Collection as well as on the resources. This unmasks a mysterious bug where calling #to_json on a Collection throws an undefined method 'to_json' error if the json gem is not included, which looks like the method doesn't exist on the Collection, but in fact is coming from inside dm-serializer

Committed by d11wtq

  • M lib/dm-serializer/to_json.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »