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
..
2019-10-25 09:32:56 -04:00
2018-03-12 22:46:41 -07:00
2019-10-25 09:32:56 -04:00
2018-06-21 18:40:42 -07:00
2019-11-04 17:31:35 -05:00