I got hit by a nasty bug that halted our callbacks pipeline that involves activesupport instrumentation.
ActiveModel::MissingAttributeError
can't write unknown attribute `start_timestamp`
simplified code follows.
after_commit :process_creation, on: :create, if: ->(r) { r.persisted? }
def process_creation
register_created_event
end
def register_created_event
ActiveSupport::Notifications.instrument('media.created', self)
end
then we have a subscription method but it's not gonna be reached.
I got hit by a nasty bug that halted our callbacks pipeline that involves activesupport instrumentation.
simplified code follows.
model:
then we have a subscription method but it's not gonna be reached.
this is because of https://github.com/getsentry/sentry-ruby/blob/master/sentry-rails/lib/sentry/rails/tracing.rb#L40