Skip to content

ActiveResource::Collection Responding to .empty? #104

@tomrossi7

Description

@tomrossi7

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions