Set up a background job that removes any project that is over 30 days old.
The way this probably should be done is to have a class method inside project.rb that destroys any project older than 30 days. Then set up a cronjob from the schedule.rb file to run this once per day.
project.rb
schedule.rb
Set up a background job that removes any project that is over 30 days old.
The way this probably should be done is to have a class method inside project.rb that destroys any project older than 30 days. Then set up a cronjob from the schedule.rb file to run this once per day.
project.rb
schedule.rb