tracks visits from different email templates

This commit is contained in:
rgarcia
2015-10-20 16:40:30 +02:00
parent 87aa44de5a
commit c71bf4c876
7 changed files with 73 additions and 1 deletions

8
lib/tasks/campaigns.rake Normal file
View File

@@ -0,0 +1,8 @@
namespace :campagins do
desc "Recalculates all the comment counters for debates and proposals"
task create: :environment do
3.times { |i| Campaign.create!(name: "Campaign#{i+1}", track_id: rand(2**32..2**64)) }
end
end