-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow passing extra arguments #49
Comments
Thanks for the idea. However, I don't think I want to add arbitrary arguments for callbacks to factory_girl. Is there a reason you couldn't just use #posts in the above example? |
I'm sorry, what do you mean by #posts? |
Can you do this instead?
|
That should work, shouldn't it? I don't remember whether I tried or not. Sorry :( |
it would be convenient to be able to specify parameters, which are not themselves attributes on the model, to generate attributes, and not have these set on the generated object. |
Could you make it possible to allow to pass extra arguments to be used in the callbacks or in some other ways.
To be able to do something like this:
and then create it with something like this:
Thanks.
The text was updated successfully, but these errors were encountered: