public
Description: A Rails plugin to create tests for you when your app throws an unhandled exception
Homepage: http://www.culann.com/2008/03/and-the-greatest-of-these-is-laziness
Clone URL: git://github.com/bscofield/laziness.git
laziness / init.rb
100644 5 lines (3 sloc) 0.224 kb
1
2
3
4
5
require File.join(File.dirname(__FILE__), 'lib', 'laziness')
 
ActionController::Rescue.send(:include, Laziness::ActionController::Rescue)
ActionController::Rescue.send(:alias_method_chain, :rescue_action_locally, :laziness)