ActiveResource::Collection Responding to .empty? #104

tomrossi7 opened this Issue Oct 17, 2013 · 5 comments


None yet

3 participants


I am not sure if this is an oversight or something I am doing wrong, but when upgrading my ActiveResource with Rails 4 I've had to modify all references to .empty? from ActiveResource::Collection objects. I noticed that it does respond to .any? It would seem like we would want that method defined so the collection more closely resembles array collections.


I believe this is fixed by #101 which was merged a few weeks ago.


When do you think the GEM will be updated?


I'm not a maintainer, so I'm afraid I can't speak for that -- honestly, ActiveResource's maintenance and maintainer communication are so lackluster that we perpetually point our Gemfiles at a git branch on a fork, where we integrate patches we and others have contributed that haven't been accepted by upstream yet. 😩


Ugh. Thats over my head. :)

Ruby on Rails member

I'll cut a release soon. Closing since it is already fixed. Let me know if it is not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment