search for: exception_notifiable

Displaying 14 results from an estimated 14 matches for "exception_notifiable".

2008 Jan 08
0
How do I call the exception_notifier from my own rescue_action_in_public ?
Hi all! I''ve been using the excellent exception_nofitier ( http://agilewebdevelopment.com/plugins/exception_notifier ) a while now, but want to change the way it interacts with my application. I now have my own rescue_action_in_public which takes me to a "Error. Describe the problem"-page. After filling out some user data the user can then click on submit. This is where the
2006 Mar 22
1
undefined method `respond_to'' when using Exception Notifier Plugin
I''m trying to use the exception notifier plugin and I''m getting this error message: NoMethodError (undefined method `respond_to'' for #<Adm::PeriodController:0xb74c9804>): /vendor/plugins/exception_notification/lib/exception_notifiable.rb:64:in `render_500'' /vendor/plugins/exception_notification/lib/exception_notifiable.rb:76:in `rescue_action_in_public'' Any suggestions? I suspect there is something missing. This project is stored in cvs and it seems like it got confused by this plugin some how. Oh. This i...
2011 Feb 17
3
Handling InvalidAuthenticityToken from bots
I''m using exception_notifier to get an email when a 500 error occurs in production. Lately I''m seeing a lot of nonsensical POSTs show up that cause an InvalidAuthenticityToken error. All the fields contain random characters. (For instance, "search_title"=>"BHQWTZpjGeb") Is there a way to detect them and not send the email, while still sending the email in
2008 Mar 04
2
Action Mailer throwing underscores on template name
...usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ base.rb:333:in `new'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ base.rb:333:in `method_missing'' /var/rails/nick_warren/releases/20080303165433/vendor/plugins/ exception_notification/lib/exception_notifiable.rb:95:in `rescue_action_in_public'' obviously this comes from the exception notifier plugin: ExceptionNotifier.deliver_exception_notification(exception, self, request, data) Has anybody else seen this? Any ideas on how to get this working? Thanks, Andrew --~--~---------~--~----~------...
2006 Oct 05
3
Exception Notifier plugin has stopped working.
Exception Notifier seems to have ceased working for some reason. I thought perhaps a change in edge rails was to blame, but I rolled back to 4900 and the problem was still there. The problem is that it generates an error in the _session.rhtml partial. It looks as if a method in the PP class is bombing. It says wrong number of argument (1 for 0), but there is no method on that line with
2006 May 05
1
NameError when running exception_notification plugin?
Hi all, I installed the exception_notification plugin via ''script/plugin install'', and when configure it and try to run it, I get: NameError uninitialized constant ExceptionNotifiable This error occured while loading the following files: application.rb exception_notifiable.rb In my application.rb, I added this: include ExceptionNotifiable And in my development environment file, I added: ExceptionNotifier.exception_recipients = %w(seanhussey@gmail.com) What am I missing? Thanks! Sean
2006 Oct 03
0
changes to the exception_notification plugin
...ult rails code instead of through the exception _notificaiton plugin. This is easily fixed if two changes occur: - you wrap the ExceptionNotification module around the ActionController module like so: module ActionController module ExceptionNotifiable - in init.rb, add this: require ''exception_notifiable'' that is all it takes to self register with the ActionController::Base, which is what I think we really want. Jamis, what do you (or anyone else for that matter) think? Thanks again jamis for a killer plugin, Adam --~--~---------~--~----~------------~-------~--~----~ You received this...
2008 Jun 20
0
random InvalidAuthenticityToken errors
My login controller seems to be randomly raising InvalidAuthenticityToken errors. I''m using exception_notifier so I''ve got pretty solid debug output, but I can''t see any pattern to it. They are real users with different IPs and different who sometimes try repeatedly to join or log in and mail me when they can''t, so I don''t think it''s any kind
2010 Oct 19
0
Exception Notifier. . .2 questions
I''m adding exception notifier to a new rails app and seem to have a couple issues. It''s a rails3 (release) app with the latest EN from github. 1) It''s filtering params fine based on my standard log filters. However, I need to go a bit further and filter session and environment as well as I have customer CC information in session during a single request. Am I missing
2007 Aug 16
0
Update from RoR 1.1.6 - 1.2.3 Rake fails
I am getting a message when I update my system from rails 1.1.6 to 1.2.3 running rake. []# rake test --trace (in /var/www/matrix.1.7.15) ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! Expected /var/www/matrix.1.7.15/config/../vendor/plugins/
2006 Nov 07
2
ActionMailer outside of Rails?
Does anyone know of issues using ActionMailer outside of Rails? I''m already selectively using ActiveRecord, so I thought perhaps I could use ActionMailer as well. (To solve one of those last minute "And could you make the app email me if it throws any errors" questions that was never in the original spec...) When I built a single file to test with, it worked fine and I
2006 May 05
3
exception_notification plugin not sending mails in development on localhost
Hi everyone, So, I''ve got exception_notification working now, but not in development mode on localhost. In my ApplicationController, I''ve added: local_addresses.clear Shouldn''t that be enough? Thank you! Sean
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi. I am using BackgrounDRb to process thumbnails and upload to S3 - things are hunky-dory in development (thumbs are generated, these are uploaded to S3, the metadata is saved to trhe DB, and I get a nice status page updated by periodic calls via ask_status), but when I tried to deploy to our staging server and stop/start BackgrounDRb via Capistrano, things blew up - well, not exactly,
2008 Mar 11
3
ActionController::NotImplemented (Only requests are allowed.)
We have a bunch of strange entries in our error log, and don''t know exactly what they mean: The errors are as follows ActionController::NotImplemented (Only requests are allowed.): /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ routing.rb:1437:in `recognize_path'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ routing.rb:1424:in