Sha256: aecca8c102c894d0fe0c812e3a51fa211b8c954c1878fb36e2d8bfc0138ca9f5

Contents?: true

Size: 473 Bytes

Versions: 16

Compression:

Stored size: 473 Bytes

Contents

class BreadcrumbsController < ApplicationController
  def handled
    Bugsnag.notify("Request breadcrumb")
    render json: {}
  end

  def sql_breadcrumb
    User.find_by(email: "foo")
    Bugsnag.notify("SQL breadcrumb")
    render json: {}
  end

  def active_job
    NotifyJob.perform_later
    render json: {}
  end

  def cache_read
    Rails.cache.write('test', true)
    Rails.cache.read('test')
    Bugsnag.notify("Cache breadcrumb")
    render json: {}
  end
end

Version data entries

16 entries across 9 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/fixtures/rails6/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.15.0 features/fixtures/rails5/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.14.0 features/fixtures/rails6/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.14.0 features/fixtures/rails5/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.13.1 features/fixtures/rails5/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.13.1 features/fixtures/rails6/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.13.0 features/fixtures/rails5/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.13.0 features/fixtures/rails6/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.12.2 features/fixtures/rails5/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.12.2 features/fixtures/rails6/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.12.1 features/fixtures/rails5/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.12.1 features/fixtures/rails6/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.12.0 features/fixtures/rails6/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.12.0 features/fixtures/rails5/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.11.1 features/fixtures/rails5/app/app/controllers/breadcrumbs_controller.rb
bugsnag-6.11.0 features/fixtures/rails5/app/app/controllers/breadcrumbs_controller.rb