You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found myself frequently creating two blueprints for a single model, one with associations, one without. It would be great if there was a simple switch to turn off/on the creation of related records...
The text was updated successfully, but these errors were encountered:
True, but I was thinking of a more succinct way, like User.make!(:no_relations) or something (which is what I currently do, but I have to explicitly type out a new blueprint for this). Some models have lots of associations, so it'd start to be a pain to have to turn all of them off. I might add this functionality myself once my current project is over.
I've found myself frequently creating two blueprints for a single model, one with associations, one without. It would be great if there was a simple switch to turn off/on the creation of related records...
The text was updated successfully, but these errors were encountered: