Skip to content
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

Default read_resource(val) to read_resource(:id => val) #2

Open
mheffner opened this issue Sep 2, 2011 · 0 comments
Open

Default read_resource(val) to read_resource(:id => val) #2

mheffner opened this issue Sep 2, 2011 · 0 comments

Comments

@mheffner
Copy link
Collaborator

mheffner commented Sep 2, 2011

Support the short hand read_resource(val) by assuming val (if not a hash) is the resource ID. This would be equivalent to read_resource(:id => val). Seems like that is a common case.

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

No branches or pull requests

1 participant