Implements registrations over time chart
This commit is contained in:
parent
c3d3440745
commit
70c7f78024
11 changed files with 355 additions and 47 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue