I know that destroy cascade
will work if proper relationships are setup in the models, but I want to know whether there is a way to destroy cascade
on-the-fly, without needing to have everything setup? Maybe something like model.destroy :cascade
?
Or am I limited to raw SQL in this case?