aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichel Etienne2014-06-05 15:28:22 +0200
committerMichel Etienne2014-06-05 15:28:22 +0200
commit25fee3e5c766904740c5f6f5660e271fcb368b81 (patch)
tree54b9501d4f3f06f881c14f19bc890ac203f26836 /lib
parentcdead06e4261bc6a4305a6368dd36cbed0d829a5 (diff)
parent9840a7733cfd74f049b49959a2d4386c9705c5fe (diff)
downloadchouette-core-25fee3e5c766904740c5f6f5660e271fcb368b81.tar.bz2
Merge branch 'master' of github.com:afimb/chouette2
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/stats.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/stats.rake b/lib/tasks/stats.rake
index 1d90ac6ae..4907bb4eb 100644
--- a/lib/tasks/stats.rake
+++ b/lib/tasks/stats.rake
@@ -13,7 +13,7 @@ namespace :stats do
end
File.open('/tmp/stats_counts.csv','w') do |s|
- [Organisation, User, Referential, Export, Import, FileValidation].each do |class_for_stat|
+ [Organisation, User, Referential, Export, ImportTask, ComplianceCheckTask].each do |class_for_stat|
stats = []
stats << class_for_stat.all.select {|o| o.created_at.month==12 && o.created_at.year==2013}.count
1.upto(12) do |i|