Difference between Destroy and Delete
What is the difference between @model.destroy and @model.delete For example: Model.find_by(col: “foo”).destroy_all //and Model.find_by(col: “foo”).delete_all Does it really matter if I use the … Read more
What is the difference between @model.destroy and @model.delete For example: Model.find_by(col: “foo”).destroy_all //and Model.find_by(col: “foo”).delete_all Does it really matter if I use the … Read more