Skip to content

Instantly share code, notes, and snippets.

@PharkMillups
Created June 3, 2010 19:10
Show Gist options
  • Save PharkMillups/424318 to your computer and use it in GitHub Desktop.
Save PharkMillups/424318 to your computer and use it in GitHub Desktop.
ouvasam # Hello Using ripple is there something to delete an embedded document
seancribbs # ouvasm: one or many?
ouvasam # many
]seancribbs # the association proxies an array, so you should be able
to do doc.embedded_docs.delete(embedded_doc)
ouvasam # thanks, but using a html form, how can i retrieve the embedded doc ?
EmbeddedDoc.find does not seem to exist
seancribbs # iterate over the collection
ouvasam # ok thanks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment