Add support for model STI thats deeper than 1 level, thanks to @dgalarza
Merge pull request #2 from mirego/fix/parent-class-name

Add support for model STI thats deeper than 1 level, thanks to @dgalarza