associations-3.ejs 228 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 // remove the association with task1 project.setTasks([task2], function(associatedTasks) { // you will get task2 only }) // remove 'em all projects.setTasks([], function(associatedTasks) { // you will get an empty array })