app/models/cohortly/metric.rb in cohortly-0.0.3 vs app/models/cohortly/metric.rb in cohortly-0.0.4
- old
+ new
@@ -32,10 +32,10 @@
:raw => true,
:query => query})
end
def self.report_table_name(tags = nil)
- "cohort_report#{ tags ? "_#{ tags.sort.join('_') }" : '' }"
+ "cohort_report#{ tags ? "_#{ tags.sort.join('_') }" : '' }_#{ Time.now.strftime("%m-%d-%Y") }"
end
def self.month_map
<<-JS
function() {