Refactor:Remove save_nil_hotness_scores Task (#9930)

This commit is contained in:
Molly Struve 2020-08-24 10:20:19 -05:00 committed by GitHub
parent 919fad9ab3
commit 972253a17b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,10 +12,6 @@ task fetch_all_rss: :environment do
RssReader.get_all_articles(force: false) # don't force fetch. Fetch "random" subset instead of all of them.
end
task save_nil_hotness_scores: :environment do
Article.published.where(hotness_score: nil).find_each(&:save)
end
task github_repo_fetch_all: :environment do
GithubRepo.update_to_latest
end