We know that the Jedi impose a rule of no emotional attachments on themselves - as Yoda puts it:
Attachment leads to jealousy, the shadow of greed, that is.
Which then in turn could lead to Sith rule, evil galactic empires and the likes. But what could the Order do about it besides telling the apprentice (or knight or master) over and over again? Some options come to mind but all of them have some minor drawbacks...
- Exile the "attachment" to a far corner of the galaxy. Now that's neither very humanitarian nor helping the Jedi in question too much as the drive to get back together will still burn.
- Expel the Jedi from the Order. Now that sounds outright stupid. It's like handing a loaded gun to the Sith or have some rogue powerful Ex-Jedi with his own agenda walking free.
- Hand-wave that desire away. Well, I guess it's more than canon that such thing cannot be done.
So the question being: is there a canon answer or example as to how (and not so much why, a question that has been asked before) the Order would enforce this rule on their members and if it ever worked?