Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

.on() creates an empty array in the errors #58

@endor

Description

@endor

I do not have any errors on my object. If I call obj.errors I get:

{}

If I do a

obj.errors.on(:attr)

now, I would expect that obj.errors returns the same hash afterwards. It does not though, it returns:

{attr: []}

Is that expected behaviour?

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