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
jaggederest (author)
Thu Jun 19 14:10:56 -0700 2008
commit  605732e5aa0d663b42725147d59d6384e3b9b8af
tree    398ed9368a01cfe21d65c01b0c72f06ff4c2667d
parent  a462b78209142604f9bbd718e7abd72f8c49c898
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)