diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-05-13 07:42:06 +0300 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-05-13 07:42:06 +0300 |
commit | eb88ca76469539431b7f06592f177a77d5738612 (patch) | |
tree | acfef46fb6d3c3313fa152ece9240ef3570a2ce8 /app/services/concerns | |
parent | 74511b049743cf543694bb92a8acd7e7586e533d (diff) |
Rename methods that conflict in Rails 5.2
Adds suffix to enum methods and changes `in_groups` to
`of_groups`
Diffstat (limited to 'app/services/concerns')
-rw-r--r-- | app/services/concerns/users/participable_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/concerns/users/participable_service.rb b/app/services/concerns/users/participable_service.rb index a3cc6014fd3..1c828234f1b 100644 --- a/app/services/concerns/users/participable_service.rb +++ b/app/services/concerns/users/participable_service.rb @@ -29,7 +29,7 @@ module Users def groups group_counts = GroupMember - .in_groups(current_user.authorized_groups) + .of_groups(current_user.authorized_groups) .non_request .count_users_by_group_id |