-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README request - include example using URI.regexp #73
Comments
This is indeed a cool use of existing functionality, and one that I hadn't considered previously. Thanks for sharing, @hangtwenty. As for whether this should go in the README, that's hard to say. I'm leaning towards not for the following reasons:
All of that said, I think the documentation could do a better job of explaining how one might initialize domain or model objects from parameters, and what the relationship is there. I'm looking into how this could be improved in a future version. |
Since it seems like something that might come up here and there, maybe it would be good to show a
format
example withURI.regexp
. It seems simple, but to a Ruby newb like me (coming from Python), this was a little A-ha! Nice! moment... I mean, it's not necessary but it is a common use case anyway (pretty common for someone to put in a URL into a form, linking accounts etc.) ... yeah, why not show an easy case.Totally understand if this seems gratuitous just figured I'd suggest it and throw up a PR.
The text was updated successfully, but these errors were encountered: