Sha256: 1493d3e15420d2af4051c625d57c5fe81e8bfeb7e8eb325a014cffb04b8d53a9

Contents?: true

Size: 337 Bytes

Versions: 9

Compression:

Stored size: 337 Bytes

Contents

class BreakController < ApplicationController
  def index
    render :text => "Works fine here"
  end

  def really_broken
    raise RuntimeError, "You hit the broken route"
  end

  def manual_notify
    raise RuntimeError, "Manual exception"
  rescue => e
    notify_crashlog(e)
  end

  def current_user
    CurrentUser.new
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
crashlog-1.1.0.pre1 spec/dummy_rails_3_plus/app/controllers/break_controller.rb
crashlog-1.0.7 spec/dummy/app/controllers/break_controller.rb
crashlog-1.0.6 spec/dummy/app/controllers/break_controller.rb
crashlog-1.0.5 spec/dummy/app/controllers/break_controller.rb
crashlog-1.0.4 spec/dummy/app/controllers/break_controller.rb
crashlog-1.0.3 spec/dummy/app/controllers/break_controller.rb
crashlog-1.0.2.1 spec/dummy/app/controllers/break_controller.rb
crashlog-1.0.2 spec/dummy/app/controllers/break_controller.rb
crashlog-1.0.1 spec/dummy/app/controllers/break_controller.rb