Only load resource override on resource generator

Fixes broken Rails model generator