How to use ‘undo change timestamp’ custom rake task?

You put body inside headers. It’s not a header but an option. See the documentation below: