About RESTful collections, what do people think about “the correct”
way of returning empty collections with Rails+ActiveResource?
Suppose I hit up a URI for a collection and the collection is empty.
Should we return 404 or an empty container? I’m currently returning
404 and this causes the ActiveResource client application to raise
ActiveResource::ResourceNotFound even on a find(:all), which is
different than how ActiveRecord behaves in the analogous scenario.
Bosko M. [email protected]