Re: [Radiant] radiant + exception_notification plugin

2008-07-03 Thread Michael Hale
Ok it turns out that adding the pastie was only half the fix. I also needed to update the views_path which I did in an initializer. Here is what my app/config/initializers/exception_notification.rb looks like: # Make exception notifier compatible with radiant require 'exception_notifier_ext' Excep

[Radiant] radiant + exception_notification plugin

2008-06-30 Thread Michael Hale
Hi all, I'm having trouble using the exception_notification with radiant. The problem seems to be that the plugin's views dir is not in ActionMailer::Base.view_paths. I was able to hack around the problem and send an email by adding a line like this: view_paths << 'radiant_app/vendor/plugins/ex

Re: [Radiant] radiant + exception_notification plugin

2008-06-30 Thread Michael Hale
Hi Thanks for the help. I tried installing the pastie as you suggested, but it doesn't fix the issue I am having. Upon further inspection it seems that all that the code does is include ExceptionNotifierHelper in ExceptionNotifier. I guess I don't understand how that will add exception_notificatio

Re: [Radiant] radiant + exception_notification plugin

2008-06-28 Thread Casper Fabricius
Hi Michael, I've run into the same problem, and solved it by adding a small mixin that overrides a method in ExceptionNotifier: http://pastie.org/223988 Put this code in a file in lib and make sure to include it and mix it in in environment.rb or in an extension class: ::ExceptionNotifie

[Radiant] radiant + exception_notification plugin

2008-06-27 Thread Michael Hale
Hi all, I'm having trouble using the exception_notification with radiant. The problem seems to be that the plugin's views dir is not in ActionMailer::Base.view_paths. I was able to hack around the problem and send an email by adding a line like this: view_paths << 'radiant_app/vendor/plugins/ex