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

Open
endor opened this Issue Jul 9, 2012 · 0 comments

1 participant

@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?

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