diff --git a/app/services/user_cohorts_service.rb b/app/services/user_cohorts_service.rb index 6545ceffec628b3b09074a494b15ad88abbe46b3..c7909bb9e0749eb9b4b04c129697b440a074b91d 100644 --- a/app/services/user_cohorts_service.rb +++ b/app/services/user_cohorts_service.rb @@ -67,7 +67,7 @@ class UserCohortsService @counts_by_month ||= begin created_at_month = column_to_date('created_at') - current_sign_in_at_month = column_to_date('current_sign_in_at_month') + current_sign_in_at_month = column_to_date('current_sign_in_at') User .where('created_at > ?', MONTHS_INCLUDED.months.ago.end_of_month)