Remove already executed tasks

These tasks were executed when upgading to version 0.19, 1.0.0-beta or
1.0.0.
This commit is contained in:
Javi Martín
2019-10-08 02:52:15 +02:00
parent 8b2acc1e0a
commit 122b066573
11 changed files with 0 additions and 192 deletions

View File

@@ -1,14 +1,4 @@
namespace :budgets do
desc "Regenerate ballot_lines_count cache"
task calculate_ballot_lines: :environment do
ApplicationLogger.new.info "Calculating ballot lines"
Budget::Ballot.find_each.with_index do |ballot, index|
Budget::Ballot.reset_counters ballot.id, :lines
print "." if (index % 10_000).zero?
end
end
namespace :email do
desc "Sends emails to authors of selected investments"