machinist_mongo icon indicating copy to clipboard operation
machinist_mongo copied to clipboard

.make! should work with embedded mongoid associations

Open ajsharp opened this issue 13 years ago • 0 comments

If you have a model that is embedded in a parent model, mongoid will let you call save and create on it, as long as you have specified the parent. The problem in machinist currently is the reload line -- mongoid doesn't allow calling reload on an embedded document.

ajsharp avatar May 10 '11 00:05 ajsharp