diff options
author | Sean McGivern <sean@gitlab.com> | 2017-04-05 10:49:33 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-04-14 15:20:55 +0200 |
commit | 0d7645e1b0312ea0a78401a835785422cc01660d (patch) | |
tree | 63eb68be1b204d3a6cab364396b02b2669f09a1e | |
parent | a4a8f0db68e08233a87444edb29b2f77327cee3b (diff) | |
download | gitlab-ce-0d7645e1b0312ea0a78401a835785422cc01660d.tar.gz |
Fix column name in user cohorts
-rw-r--r-- | app/services/user_cohorts_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/user_cohorts_service.rb b/app/services/user_cohorts_service.rb index 6545ceffec6..c7909bb9e07 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) |