app/models/cohortly/metric.rb in cohortly-0.0.1 vs app/models/cohortly/metric.rb in cohortly-0.0.2
- old
+ new
@@ -3,9 +3,10 @@
include MongoMapper::Document
key :user_start_date, Time
key :user_id, Integer
key :user_email, String
+ key :username, String
key :tags, Array
key :controller, String
key :action, String
timestamps!