Sha256: 73cb1789eabc7a5d3a4ec0cf7b3ecd6ec7457c25f4e5c7c440f5c44126944c47

Contents?: true

Size: 352 Bytes

Versions: 8

Compression:

Stored size: 352 Bytes

Contents

class HomeController < ApplicationController
  layout 'home'

  def controller_error
    nil.foo
    render(:text => 'did not fail')
  end

  def model_error
    s = StoredException.new
    s.failure
    render(:text => 'did not fail')
  end

  def view_error
  end

  def syntax_error
    eval("arr = [")
    render(:text => 'did not fail')
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_exception_handler-1.3.0 spec/testapp_30/app/controllers/home_controller.rb
rails_exception_handler-1.2.1 spec/testapp_30/app/controllers/home_controller.rb
rails_exception_handler-1.2.0 spec/testapp_30/app/controllers/home_controller.rb
rails_exception_handler-1.1.2 spec/testapp_30/app/controllers/home_controller.rb
rails_exception_handler-1.1.1 spec/testapp_30/app/controllers/home_controller.rb
rails_exception_handler-1.1.0 spec/testapp_30/app/controllers/home_controller.rb
rails_exception_handler-1.0.1 spec/testapp_30/app/controllers/home_controller.rb
rails_exception_handler-1.0.0 spec/testapp_30/app/controllers/home_controller.rb