Closed nglx closed 9 years ago
hmmm why are you removing SerializableCollection
Well, why do we need it? Both as_json, to_json methods are kinda convoluted and and it's working properly without them so I decided to remove the whole module. But we can have it.
I don't think the original to_json outputs all the models in the collection in json format
also - I think it's natural to output only the collection array but not the params when doing colleciton.to_json
let me close it then.
This removes the code which is not in fact need. The API is tested with and without ActiveSupport.