justinweiss / reactive_resource

ActiveRecord-style associations and miscellaneous fixes for nested ActiveResources
http://rubydoc.info/gems/reactive_resource/frames
MIT License
53 stars 14 forks source link

Sometimes passed in id is an empty string instead of nil #6

Closed jasonkim closed 11 years ago

jasonkim commented 11 years ago

In this case it should be handled correctly and doesn't return path/.extension when getting the path string. This is only broken for singleton classes because other classes "should" have ids.