Support modern active record, Factory.build

See title. Let me know if further detail is desired & I'll update the PR.