I need to erase records in my offers models if the record has more that 60 days from the created_at date.
I only found information about how to populate my model with a rake task, but I couldn't find information about how to make a rake task to delete records. So I just wonder if I have to do this with a task or if rails has something else to do this.
See Question&Answers more detail:os