
Added 'on' instance method to ValidationErrors
Reported by Jonathan Conway | November 7th, 2007 @ 09:06 AM
I needed an 'on' method for ValidationErrors for my specs in my own app and for the form helper I'm using. So I added one.
Please find attached said method and spec. Hope it's ok.
Cheers
Jonathan
Comments and changes to this ticket
-
Jonathan Conway November 7th, 2007 @ 09:06 AM
- Assigned user set to Sam Smoot
-
Nick Plante November 7th, 2007 @ 11:13 AM
- State changed from new to open
- Milestone cleared.
-
Nick Plante November 9th, 2007 @ 11:37 AM
- State changed from open to resolved
this already works as of r461, no updates required at this time. however, i am going to add a spec for it and change the return value of on() for the case where there are no validation errors for the named property. it should be nil instead of [].
this is in r462
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »