Fix activesupport remove root

@prsimp 

Fixes ActiveResource remove_root bug per https://github.com/rails/rails/pull/2692