Fix activesupport remove root

@prsimp 

This fixes the ActiveResource issue from https://github.com/rails/rails/pull/2692