I accidentally forgot to turn a scheduled task and added rows to a table that shouldn't be there.
I know the id from which I wish to remove rows. But how do you do it?
I've tried
Datum.where("id > 650").delete
ArgumentError (wrong number of arguments (given 0, expected 1))
also
Datum.where("id > 650").destroy
Traceback (most recent call last):
1: from (irb):5
ArgumentError (wrong number of arguments (given 0, expected 1))