paulelliott / fabrication

This project has moved to GitLab! Please check there for the latest updates.
https://gitlab.com/fabrication-gem/fabrication
MIT License
998 stars 97 forks source link

Docs: defining fabricators for namespaced models #288

Closed nruth closed 7 years ago

nruth commented 7 years ago

https://github.com/paulelliott/fabrication/issues/223 suggests Fabricator(:my_class, from: 'MyModule::MyClass'). Is that the right way? Could it be added to https://www.fabricationgem.org/#defining-fabricators ?

paulelliott commented 7 years ago

It is the preferred way and certainly can be added. Would you like to make a PR to paulelliott/fabrication-site?

nruth commented 7 years ago

Sure, will do.