search for: exception_notifier

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

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 problem comes: I want to tr...
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
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 detec...
2008 Mar 04
2
Action Mailer throwing underscores on template name
...or templates with underscores at the end. Notice the exception_notification_ . For example: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for exception_notification_ in /var/rails/nick_warren/releases/ 20080303165433/vendor/plugins/exception_notification/lib/../views/ exception_notifier): /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ base.rb:401:in `find_template_extension_for'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ base.rb:332:in `pick_template_extension'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/actio...
2006 Oct 05
3
Exception Notifier plugin has stopped working.
...f 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 only 1 argument. Any help is appreciated. --- ActionView::TemplateError (wrong number of arguments (1 for 0)) on line #3 of vendor/plugins/exception_notification/views/exception_notifier/_session.rhtml: 1: <% for variable in @request.session.instance_variables -%> 2: <% next if variable =~ /^@db/ -%> 3: * <%= variable %>: <%= PP.pp(@request.session.instance_variable_get(variable),"").gsub(/\n/, "\n ").strip %> 4: <% end -%>...
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
2006 Oct 03
0
changes to the exception_notification plugin
first off, this thing rocks. What a great little addition. It is missing one use case that I could find, and that is where a 404 occurs because a RoutingError occured at the controller level. If it happens after the controller has been found (say a view or ID is wrong), then this works. But if application.rb is not called, then it goes back to the default rails code instead of through the
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 of bot. And it'...
2010 Oct 19
0
Exception Notifier. . .2 questions
...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 some configuration for this or any advice on how to do it? Which leads to. . . 2) I''ve placed the exception notifier erb files in app/views/ exception_notifier but the application refuses to load them going to the plugin files instead. Worse come to worse I was just going to get rid of session and param (though highly undesirable compared to #1). Thanks for any pointers on a direction to go! Gerald -- You received this message because you are subscri...
2007 Aug 16
0
Update from RoR 1.1.6 - 1.2.3 Rake fails
...n /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/ exception_notification/lib/exception_notifier.rb to define ExceptionNotifier /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:249:in `load_missing_constant'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:452:in `const_missing'' /usr/local/lib/r...
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?
...p_backgroundrb, :roles => :app do run "cd #{release_path} && ./script/backgroundrb -e staging stop" end desc "Restart the backgroundrb server" task :restart_backgroundrb, :roles => :app do stop_backgroundrb start_backgroundrb end ------- Here''s the exception_notifier backtrace: [RAILS_ROOT]/vendor/plugins/backgroundrb/lib/backgroundrb.rb:81:in `dump_object'' [RAILS_ROOT]/vendor/plugins/backgroundrb/lib/backgroundrb.rb:98:in `new_worker'' [RAILS_ROOT]/app/models/uploader.rb:54:in `start_thumbnail_worker'' [RAILS_ROOT]/app/con...
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