I have a Rails application that is trying to delete multiple objects at a time.
I have tried like sending set of id seperated by \',\' to rails destroy method,but it
Model.delete([1,2,5,6])
or
Model.delete_all(["col_name in (?)", [1,2,5,6]])
Just pass the ids array