Sha256: 60bab0a7379e04f1d828526df9453934b6c97e12c0c34f8c5f8f76d9a10dd645

Contents?: true

Size: 440 Bytes

Versions: 8

Compression:

Stored size: 440 Bytes

Contents

class StaticController < ApplicationController

  def home
  end

  def generic_error
    raise "standard-error"
  end

  def long_error
    raise "e" * 256
  end

  def deep_error
    eval(params[:code])
    render :home
  end

  def log
    Errdo.error "This is the error", user: current_user, data: "This is the data"
  end

  def double_render_error
    render :home
    render :log
  end

  def post_error
    raise "Error"
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
errdo-0.12.13 test/dummy/app/controllers/static_controller.rb
errdo-0.12.12 test/dummy/app/controllers/static_controller.rb
errdo-0.12.11 test/dummy/app/controllers/static_controller.rb
errdo-0.12.10 test/dummy/app/controllers/static_controller.rb
errdo-0.12.9 test/dummy/app/controllers/static_controller.rb
errdo-0.12.8 test/dummy/app/controllers/static_controller.rb
errdo-0.12.7 test/dummy/app/controllers/static_controller.rb
errdo-0.12.6 test/dummy/app/controllers/static_controller.rb