ActionView::Template::Error: undefined method `include_private_contributions?' for nil:NilClass
I think this was introduced by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17296
https://sentry.gitlap.com/gitlab/gitlabcom/issues/515578/
NoMethodError: undefined method `include_private_contributions?' for nil:NilClass
/opt/gitlab/embedded/service/gitlab-rails/app/views/events/_event.html.haml:14:in `_app_views_events__event_html_haml___704111460178006699_70327746578720'
- elsif @user.include_private_contributions?
action_view/template.rb:145:in `block in render'
view.send(method_name, locals, buffer, &block)
active_support/notifications.rb:166:in `instrument'
yield payload if block_given?
action_view/template.rb:333:in `instrument'
ActiveSupport::Notifications.instrument("#{action}.action_view", payload, &block)
action_view/template.rb:143:in `render'
instrument("!render_template") do
...
(172 additional frame(s) were not displayed)
ActionView::Template::Error: undefined method `include_private_contributions?' for nil:NilClass
ActionView::Template::Error: undefined method `include_private_contributions?' for nil:NilClass
Edited by Nick Thomas