You can create a rake task
using whenever gem. Something like below should work
every 1.day, :at => '12:00 am' do
runner "YourModel.method_to_update"
end
And in your model, write a method like below
def self.method_to_update
YourModel.update_attribute(completed: false)
end