Sha256: 0eab3f9e5d90aed4b5ee1a4dd5d4b29357598c88b90407d5e94b50603eae32ad

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

class StaticController < ApplicationController

  def home
  end

  def generic_error
    raise "standard-error"
  end

  def long_error
    raise "e" * 256
  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

1 entries across 1 versions & 1 rubygems

Version Path
errdo-0.12.5 test/dummy/app/controllers/static_controller.rb