From: Junkone Date: 2008-01-16T22:55:45+09:00 Subject: not catching my exception Hello begin if(nil|pattern.match(details)) then id=$1 rec=Scans.find(id) rec.scannable=MARKTRUE rec.save else badpattern=true end rescue RecordNotFound badpattern=true end I still get the prog stopping and printing out the exception Pl choose alert action? 3 1000 e:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ dependencies.rb:266:in `load_missing_constant': uniniti alized constant RecordNotFound (NameError) from e:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/ active_support/dependencies.rb:452:in `const_missing' from e:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/ active_support/dependencies.rb:464:in `const_missing' from MainMenu.rb:118:in `alertsMenu'