...
Delete with Schemas
Learn how to delete records with schemas.
Now let’s look at how to delete records. When we first looked at delete_all here, we used it to remove all of the records in the table, like so:
delete_all
Repo.delete_all("tracks")
When we ...