Adding specs to ensure embedded relations are cloned on master for both new and persisted documents. Fixes #739.
Adding specs to ensure embedded relations are cloned on master for both new and persisted documents. Fixes #739.

sujal/mongoid,Exoth/mongoid,sserdyuk/mongoid,manikandan-kandasamy/mongoid,skyeagle/mongoid,nicolasblanco/mongoid,blackxored/mongoid,jstrocel/mongoid,derickbailey/mongoid,colinyoung/mongoid,leozhang37/mongoid,mitijain123/mongoid,parov/mongoid,ches/mongoid,4pcbr/mongoid,skiz/mongoid,dakatsuka/mongoid,Winslett/mongoid,jetthoughts/mongoid,narutosanjiv/mongoid,marcweil/mongoid,Flameeyes/mongoid,jseibert/mongoid,mysociety/mongoid,demarque/mongoid,icambron/mongoid,msaffitz/mongoid,tricknotes/mongoid,Speakol/mongoid,genexp/mongoid,timgluz/mongoid,trmmy/mongoid,X0nic/mongoid,fortnightlabs/mongoid,hfwang/mongoid,env0der/mongoid,aleksclark/mongoid,incorvia/mongoid,stnguyen/mongoid,envylabs/mongoid,eddanger/mongoid,codedmart/mongoid,rubrikkfabrikken/mongoid,sukeerthiadiga/mongoid,joshleitzel/mongoid,ryanong/mongoid,kayakyakr/mongoid,kslazarev/mongoid,franc/mongoid,freerange/mongoid,Zhomart/mongoid,anuprit/mongoid,mitio/mongoid,skippy/mongoid,kentaroi/mongoid,ahoward/mongoid,slbug/mongoid,aagrawal2001/mongoid,rubrikkfabrikken/mongoid,nextmat/mongoid,cmpolis/mongoid,priyaaank/mongoid,ElvinEfendi/mongoid,eljojo/mongoid,cmartyn/mongoid,matadon/mongoid,pkieltyka/mongoid,mschulkind/mongoid,schnittchen/mongoid,chriseppstein/mongoid,tolsen/mongoid,HRNewMedia/mongoid,dnd/mongoid,nfo/mongoid,flada-auxv/mongoid,socialreferral/mongoid,krasnoukhov/mongoid,charliehq/mongoid,neerfri/mongoid,cmpolis/mongoid,ganlron/mongoid,flexoid/mongoid,akirasosa/mongoid,Spaceghost/mongoid,hubertlepicki/mongoid,akm/mongoid,HeeL/mongoid-1,manuelmorales/mongoid,dustinwatson/mongoid,jeyb/mongoid,sikachu/mongoid,xentek/mongoid,cgriego/mongoid,mattconnolly/mongoid,sserdyuk/mongoid,travis-repos/mongoid,500px/mongoid,rymai/mongoid,abscondment/mongoid,Tickaroo/mongoid2,jonhyman/mongoid,snapfish-soma/mongoid,crowdtap/mongoid,asantamar/mongoid,trmmy/mongoid,cpuguy83/mongoid,brettgoulder/mongoid-1,ErisExchange/mongoid,manuelmorales/mongoid,alexrothenberg/mongoid,ganlron/mongoid,adyard/mongoid,elia/mongoid,atomical/mongoid,jordoh/mongoid,Azzurrio/mongoid,stnguyen/mongoid,amw/mongoid,Aupajo/mongoid-1,jseibert/mongoid,eddanger/mongoid,dferdian/mongoid,hubertlepicki/mongoid,nagachika/mongoid,johnnyshields/mongoid,nusco/mongoid,bencrouse/mongoid,joshleitzel/mongoid,charliehq/mongoid,tolsen/mongoid,toppan-forms/mongoid,bearded/mongoid,sporkd/mongoid,arunagw/mongoid,toppan-forms/mongoid,elia/mongoid,xentek/mongoid,praecipula/mongoid,rmm5t/mongoid,gregmolnar/mongoid,florent/mongoid,mzsanford/mongoid,tetsuo692/mongoid,drfeelngood/mongoid,itbakery/mongoid,blackxored/mongoid,kuruma-gs/mongoid,hbakhtiyor/mongoid,dnd/mongoid,wyattisimo/mongoid,jpfuentes2/mongoid,abscondment/mongoid,herimedia/mongoid,mikerobe/mongoid,rpocklin/mongoid,herimedia/mongoid,dustinwatson/mongoid,jtescher/mongoid,gullitmiranda/mongoid,camallen/mongoid,potatosalad/mongoid,abezzub/mongoid,rafaelgaspar/mongoid,Empact/mongoid,ebeigarts/mongoid,jmaicher/mongoid,lucasas/mongoid,jasl/mongoid,dsachitano/mongoid,Welovroi/mongoid,maxd/mongoid,fbernier/mongoid,jamesalmond/mongoid,cjab/mongoid,Houdini/mongoid,kostyantyn/mongoid,rogerz42892/mongoid,ono/mongoid,johnny-miyake/mongoid,marcweil/mongoid,kayakyakr/mongoid,msaffitz/mongoid,kay-kim/mongoid,dcu/mongoid,eljojo/mongoid,cmartyn/mongoid,drobune/mongoid,leedo/mongoid,arnkorty/mongoid,rogerz42892/mongoid,alexrothenberg/mongoid,etomic/mongoid,mash-ltd/mongoid,niedhui/mongoid,tengine/mongoid,semaperepelitsa/mongoid,DanielVartanov/mongoid,nagachika/mongoid,gregmolnar/mongoid,zanker/mongoid,robotmay/mongoid,joneslee85/mongoid,stevebartholomew/mongoid,MadRabbit/mongoid,codedogfish/mongoid,nviennot/mongoid,bjori/mongoid,aj0strow/mongoid,aleksclark/mongoid,ginty/mongoid,rosylilly/mongoid,sivagollapalli/mongoid,dblock/mongoid,justinko/mongoid,korishev/mongoid,hashrocketeer/mongoid,mulder/mongoid,tagliala/mongoid,piotrj/mongoid,jiren/mongoid,tzar/mongoid,fredjean/mongoid,matsimitsu/mongoid,Spaceghost/mongoid,greggroth/mongoid,lawrencecurtis/mongoid,capnregex/mongoid,ginty/mongoid,aileron/mongoid,kryzhovnik/mongoid,mongoid/mongoid,zaithottakath/mongoid,joneslee85/mongoid,77Agency/mongoid,caiofilipini/mongoid,rafaelgaspar/mongoid,joshsoftware/mongoid,mschulkind/mongoid,moretea/mongoid,cavneb/mongoid,lowang/mongoid,mgolovnia/mongoid,joelcogen/mongoid,ebeigarts/mongoid,aagrawal2001/mongoid,sporkd/mongoid,incorvia/mongoid,shingara/mongoid,luxerama/mongoid,potatosalad/mongoid,johnnyshields/mongoid,spiegela/mongoid,manikandan-kandasamy/mongoid,Subskii/mongoid,zBMNForks/mongoid,bearded/mongoid,gregory-m/mongoid,leedo/mongoid,karmakaze/mongoid,byroot/mongoid,rmm5t/mongoid,flada-auxv/mongoid,mash-ltd/mongoid,hxx/mongoid,praecipula/mongoid,lackac/mongoid,matsimitsu/mongoid,tvon/mongoid,kuadrosx/mongoid,kostyantyn/mongoid,koraktor/mongoid,uranazo/mongoid,cao7113/mongoid,justinko/mongoid,razum2um/mongoid,adyard/mongoid,idesaku/mongoid,mongodb/mongoid,kevinmarvin/mongoid,KoanHealth/mongoid,alexandru-calinoiu/mongoid,glebtv/mongoid,kcdragon/mongoid,Codas/mongoid,77Agency/mongoid,shingara/mongoid,EqualMedia/mongoid,razum2um/mongoid,goshakkk/mongoid,camallen/mongoid,hookercookerman/mongoid,KoanHealth/mongoid,wuboy0307/mongoid,mitijain123/mongoid,flexoid/mongoid,Azzurrio/mongoid,sideci-sample/sideci-sample-mongoid,voldy/mongoid,estolfo/mongoid,nickhoffman/mongoid,luxerama/mongoid,albus522/mongoid,SumeruSoftware/mongoid,mongodb/mongoid,grimen/mongoid,balauru/mongoid,cgriego/mongoid,gicappa/mongoid,hxx/mongoid,bobbytables/mongoid,cavneb/mongoid,rebelhold/mongoid,malditogeek/mongoid,demarque/mongoid,afeld/mongoid,akreiling/mongoid,Welovroi/mongoid,jonhyman/mongoid,joshsoftware/mongoid,lawrencecurtis/mongoid,icambron/mongoid,balauru/mongoid,uniiverse/mongoid,wuboy0307/mongoid,robwil/mongoid,sepastian/mongoid,hashrocketeer/mongoid,LastStar/mongoid,voldy/mongoid,sepastian/mongoid,krasnoukhov/mongoid,dannguyen/mongoid,neerfri/mongoid,mzsanford/mongoid,franc/mongoid,timgluz/mongoid,rosylilly/mongoid,idesaku/mongoid,cncolder/mongoid,absperf/mongoid,canvas-drw/mongoid,hadees/mongoid,nullstyle/mongoid,jstrocel/mongoid,jeyb/mongoid,infiverve/mongoid,tetsuo692/mongoid,dbkbali/mongoid,mikerobe/mongoid,stellard/mongoid,Winslett/mongoid,evansagge/mongoid,travis-repos/mongoid,bdmac/mongoid,likealittle/mongoid,lackac/mongoid,rinmu/mongoid,genexp/mongoid,teaforthecat/mongoid,etomic/mongoid,cpuguy83/mongoid,florent/mongoid,mgartner/mongoid,i0rek/mongoid,nextmat/mongoid,chetan/mongoid,akirasosa/mongoid,dcu/mongoid,arunagw/mongoid,PerfectMemory/mongoid,gullitmiranda/mongoid,brynary/mongoid,evendis/mongoid,cao7113/mongoid,MSNexploder/mongoid,cncolder/mongoid,caiofilipini/mongoid,hbakhtiyor/mongoid,cleishm/mongoid,uniiverse/mongoid,afeld/mongoid,kentaroi/mongoid,brynary/mongoid,asantamar/mongoid,kcdragon/mongoid,ahoward/mongoid,Exoth/mongoid,hookercookerman/mongoid,fujimura/mongoid,kevinmarvin/mongoid,CIRCUITLLC/mongoid,fbernier/mongoid,irakli-janiashvili/mongoid,sukeerthiadiga/mongoid,Codas/mongoid,shotoso/mongoid,kryzhovnik/mongoid,canvas-drw/mongoid,lowang/mongoid,zBMNForks/mongoid,loginx/mongoid,zenjoy/mongoid,jeffreyiacono/mongoid,iboard/mongoid-1,railsjedi/mongoid,colinyoung/mongoid,fredjean/mongoid,stellard/mongoid,dsachitano/mongoid,Zhomart/mongoid,wyattisimo/mongoid,cleishm/mongoid,jbrien/mongoid,bdmac/mongoid,jakcharlton/mongoid,kuadrosx/mongoid,evendis/mongoid,sivagollapalli/mongoid,ErisExchange/mongoid,nviennot/mongoid,captain-lucas/mongoid,alexandru-calinoiu/mongoid,FestivalBobcats/mongoid,jordoh/mongoid,janroesner/mongoid,mgartner/mongoid,apptentive-engineering/mongoid,pkieltyka/mongoid,ryanong/mongoid,johnny-miyake/mongoid,jeffreyiacono/mongoid,railsjedi/mongoid,jamesalmond/mongoid,bencrouse/mongoid,freerange/mongoid,getaroom/mongoid,asaaki/mongoid,lucasas/mongoid,zanker/mongoid,imomoisoft/mongoid,bjori/mongoid,tagliala/mongoid,EqualMedia/mongoid,zaithottakath/mongoid,nusco/mongoid,matbox/mongoid,akm/mongoid,gregory-m/mongoid,dbkbali/mongoid,jim/mongoid,jpfuentes2/mongoid,mulder/mongoid,dferdian/mongoid,grossws/mongoid,karmakaze/mongoid,janroesner/mongoid,goshakkk/mongoid,canavese/mongoid,abezzub/mongoid,jmaicher/mongoid,grossws/mongoid,joelcogen/mongoid,estolfo/mongoid,matbox/mongoid,parov/mongoid,codedmart/mongoid,leemhenson/mongoid,blt04/mongoid,fortnightlabs/mongoid,Sharevari-Inc/mongoid,jasonsydes/mongoid,stevebartholomew/mongoid,chriseppstein/mongoid,evansagge/mongoid,hfwang/mongoid,dannguyen/mongoid,atomical/mongoid,jtescher/mongoid,infiverve/mongoid,sikachu/mongoid,tricknotes/mongoid,simi/mongoid,bigbenli/mongoid,andreychernih/mongoid,dlt/mongoid,javmorin/mongoid,SumeruSoftware/mongoid,PerfectMemory/mongoid,Numerico/mongoid,astjohn/mongoid,akreiling/mongoid,tombruijn/mongoid,sideci-sample/sideci-sample-mongoid,teaforthecat/mongoid,aileron/mongoid,moretea/mongoid,itbakery/mongoid,arnkorty/mongoid,malditogeek/mongoid,rafaelfranca/mongoid,anuprit/mongoid,korishev/mongoid,robinst/mongoid,captain-lucas/mongoid,canavese/mongoid,jonasschneider/mongoid,Sharevari-Inc/mongoid,mathieuravaux/mongoid,skippy/mongoid,kuruma-gs/mongoid,jetthoughts/mongoid,crealytics/mongoid,bobbytables/mongoid,drfeelngood/mongoid,tvon/mongoid,spiegela/mongoid,mongodb/mongoid,kslazarev/mongoid,Numerico/mongoid,tombruijn/mongoid,haihappen/mongoid,apptentive-engineering/mongoid,jordelver/mongoid,X0nic/mongoid,jasl/mongoid,envylabs/mongoid,aj0strow/mongoid,nfo/mongoid,subhashb/mongoid,maxd/mongoid,theirishpenguin/mongoid,notxarb/mongoid,slbug/mongoid,jakcharlton/mongoid,paulrosania/mongoid,sevos/mongoid,bigbenli/mongoid,rafaelfranca/mongoid,Shop2market/mongoid,CIRCUITLLC/mongoid,andreychernih/mongoid,shotoso/mongoid,skiz/mongoid,ealdent/mongoid,ElvinEfendi/mongoid,crowdtap/mongoid,chetan/mongoid,irakli-janiashvili/mongoid,crealytics/mongoid,DouweM/mongoid,4pcbr/mongoid,drobune/mongoid,tzar/mongoid,hadees/mongoid,subhashb/mongoid,gicappa/mongoid,MSNexploder/mongoid,jim/mongoid,imomoisoft/mongoid,greggroth/mongoid,mathieuravaux/mongoid,dlt/mongoid,mongoid/mongoid,FestivalBobcats/mongoid,iamnader/mongoid-2,jetheredge/mongoid,alex-klepa/mongoid,LastStar/mongoid,jordelver/mongoid,socialreferral/mongoid,iGoDigital-LLC/mongoid,britto/mongoid,uranazo/mongoid,500px/mongoid,HeeL/mongoid-1,Subskii/mongoid,nullstyle/mongoid,simi/mongoid,notxarb/mongoid,sevos/mongoid,haihappen/mongoid,Speakol/mongoid,mysociety/mongoid,mattconnolly/mongoid,brettgoulder/mongoid-1,javmorin/mongoid,kay-kim/mongoid,niedhui/mongoid,britto/mongoid,glebtv/mongoid,zenjoy/mongoid,ches/mongoid,paulrosania/mongoid,amw/mongoid,narutosanjiv/mongoid,nickhoffman/mongoid,romanbsd/mongoid,codedogfish/mongoid,robwil/mongoid,DanielVartanov/mongoid,rinmu/mongoid,asaaki/mongoid,rpocklin/mongoid,jbrien/mongoid,iGoDigital-LLC/mongoid,derickbailey/mongoid,ealdent/mongoid