Mark Siemers 0edebd99e6 Check #each instead of #size for is_collection?
See if a resource responds to 'each' instead of 'size' as
things other than collections can respond to 'size' (e.g. File instance)
2020-04-11 12:48:00 +01:00
..
2018-06-21 18:40:42 -07:00
2018-06-21 18:40:42 -07:00