rack-test-rest icon indicating copy to clipboard operation
rack-test-rest copied to clipboard

Default `read_resource(val)` to `read_resource(:id => val)`

Open mheffner opened this issue 14 years ago • 0 comments

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.

mheffner avatar Sep 02 '11 19:09 mheffner