trending_projects_worker.rb 189 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 class TrendingProjectsWorker include ApplicationWorker include CronjobQueue def perform Rails.logger.info('Refreshing trending projects') TrendingProject.refresh! end end