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

@ -33,4 +33,8 @@ class Registration < ActiveRecord::Base
delegate :tshirt, :to => :person
alias_attribute :other_needs, :other_special_needs
def week
created_at.strftime('%W').to_i
end
end