Initial rake test fails
After following the steps provided online and in the plugin install result, I get this (using Rails 2.1. Switching over from using Exception Notifier).
rake aborted! undefined method exceptions_to_treat_as_404'
for classClass'
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by crowdtap on 17 Dec, 2008 06:41 PM
imm,
I believe exceptions_to_treat_as_404 is part of Exception Notifier:
http://dev.rubyonrails.org/browser/plugins/exception_notification/lib/exception_notifiable.rb
Have you totally removed exception_notification from vendor/plugins?
Have you removed ExceptionNotifiable from ApplicationController?
class ApplicationController < ActionController::Base
end
Have you removed any calls to ExceptionNotifier from your environmental configs?
# defaults to exception.notifier@default.com ExceptionNotifier.sender_address =
# defaults to "[ERROR] " ExceptionNotifier.email_prefix = "[APP] "
3 Posted by imm on 29 Dec, 2008 05:39 PM
Thanks for the tip. I found the offending code and now the rake test completes. However, it does not show up online. I think this has something to do with running in the dev environment? Trying to find a past ticket I created when I attempted this once before but haven't found it yet.
4 Posted by tammersaleh on 29 Dec, 2008 05:56 PM
imm,
I'm going to resolve this. If you find the other question, then comment there (you may have already). otherwise, open a new question with this issue.
Cheers, Tammer
tammersaleh resolved this discussion on 29 Dec, 2008 05:56 PM.