Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
06a2baa3
Commit
06a2baa3
authored
Apr 05, 2017
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix column name in user cohorts
parent
3d97beab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/services/user_cohorts_service.rb
app/services/user_cohorts_service.rb
+1
-1
No files found.
app/services/user_cohorts_service.rb
View file @
06a2baa3
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment