From: "Michael P. Soulier" Date: 2006-09-25T09:55:53+09:00 Subject: global error handling in rails --H+z4JyTZRruR1sYt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey people, I'm having a problem implementing global error handling in Rails. I using the Rails bible*, and on page 464 it has some code for implementing email notification of such errors via the rescue_action_in_public method globally in application.rb. I've implemented it, but I'm seeing this in my logs NameError (uninitialized constant ActionWebService::Dispatcher::ActionContr= oller ::UnknownAction): /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor= t/dep endencies.rb:100:in `const_missing' /app/controllers/application.rb:14:in `rescue_action_in_public' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controll= er/re scue.rb:33:in `rescue_action' And I'm getting "Application error (Rails)" in the browser. Any suggestions? Thanks, Mike *Agile Web Development with Rails --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --H+z4JyTZRruR1sYt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFFykEKGqCc1vIvggRAt5MAKCMR+n5b4+XJUlm7A+EIH+B6Y/4WACgwpHZ O2OonMRu4eBHhA3gxkSKkZM= =iYNM -----END PGP SIGNATURE----- --H+z4JyTZRruR1sYt--