Support after_ callbacks #14

DaveSanders opened this Issue Apr 6, 2012 · 0 comments

1 participant


Need to eventually be able to support this feature from FactoryGirl:

One pattern that I use in rails (good or bad, I don't know) is I'll "default" associations if they haven't been filled in during create. So if I create an "Employee" object and don't specify an associated "Manager" object during creation, then the after_create will see that there is no Manager, and create one via an associated factory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment