ActionView::Template::Error: undefined method `snowplow_enabled?' for #<ApplicationSetting:0x00007ff055895240>
This is probably related to https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6642
Could it be that the object is serialized and cached in redis without the new column? I seem to remember something like that.
https://sentry.gitlap.com/gitlab/staginggitlabcom/issues/487394/
NoMethodError: undefined method `snowplow_enabled?' for #<ApplicationSetting:0x00007ff055895240>
active_model/attribute_methods.rb:433:in `method_missing'
match ? attribute_missing(match, *args, &block) : super
gitlab/current_settings.rb:17:in `method_missing'
current_application_settings.send(name, *args, &block) # rubocop:disable GitlabSecurity/PublicSend
/opt/gitlab/embedded/service/gitlab-rails/app/views/layouts/_head.html.haml:77:in `_app_views_layouts__head_html_haml___3153913189475414088_70335278054640'
= render 'layouts/snowplow' if Gitlab::CurrentSettings.snowplow_enabled?
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?
...
(176 additional frame(s) were not displayed)
ActionView::Template::Error: undefined method `snowplow_enabled?' for #<ApplicationSetting:0x00007ff055895240>
ActionView::Template::Error: undefined method `snowplow_enabled?' for #<ApplicationSetting:0x00007ff055895240>
Edited by Bob Van Landuyt