app/models/cohortly/report.rb in cohortly-0.0.1 vs app/models/cohortly/report.rb in cohortly-0.0.2

- old
+ new

@@ -46,10 +46,10 @@ res end def month_cohorts_from(cohort_key) index = month_cohorts.index(cohort_key) - month_cohorts[(index + 1)..-1] + month_cohorts[index..-1] end def report_line(cohort_key) line = data.find {|x| x['_id'] == cohort_key} return [] unless line