Rails model naming conflict

You should be able to reference your model as ::Document. As long as
you don't "include REXML", that should work fine.