Implements registrations over time chart

This commit is contained in:
Chrisbr 2014-05-31 13:23:41 +02:00
parent c3d3440745
commit 70c7f78024
11 changed files with 355 additions and 47 deletions

View file

@ -175,7 +175,7 @@ class Event < ActiveRecord::Base
end
def week
created_at.strftime('%W')
created_at.strftime('%W').to_i
end
private