Sha256: 4529ca962227b5ee36cfa59bfec0aa31185940a93e30b6ba06973043d0586456

Contents?: true

Size: 410 Bytes

Versions: 9

Compression:

Stored size: 410 Bytes

Contents

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

  def sql_breadcrumb
    User.where(:email => "foo").as_json
    Bugsnag.notify("SQL breadcrumb")
    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

9 entries across 9 versions & 1 rubygems

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