Commit 06a2baa3 authored by Sean McGivern's avatar Sean McGivern

Fix column name in user cohorts

parent 3d97beab
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment