Class: PryRescue::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/pry-rescue/rails.rb

Overview

A railtie that inserts PryRescue::Rack at the correct point in the middleware chain.

Just adding ‘use PryRescue::Rack’ inside your rails app will add the middleware above the rails exception handling middleware, and so it will not work.