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

Type URI returns an Addressable::URI on an empty string #39

Open
probablykabari opened this issue Jul 11, 2011 · 0 comments
Open

Type URI returns an Addressable::URI on an empty string #39

probablykabari opened this issue Jul 11, 2011 · 0 comments
Milestone

Comments

@probablykabari
Copy link
Member

The bug here is that with an empty string, URI type always returns an instance of Addressable::URI. So when doing a validation checking for #blank? it returns false. This is a problem when the property is being set from form params.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant