How to change Boolean Value on specific date.
I am looking to change a boolean value on a specific date automatically. How would I do that.
For example, it I have a post and would like it to publish automatically in two days at 8am. Would would I need to accomplish that? Any help would be much appreciated!
Have you seen this episode? https://gorails.com/episodes/scheduling-posts It does this without extra complication.
Otherwise you could use a background job or cron job to toggle it, but that's probalby overkill unless you can't use the above option for some reason.