similar to: undefined method `respond_to'' when using Exception Notifier Plugin

Displaying 20 results from an estimated 600 matches similar to: "undefined method `respond_to'' when using Exception Notifier Plugin"

2007 May 24
3
Exception Notification Plugin Question
Hi, I have two questions re the Exception Notifier plugin (i.e. which you install via "ruby script/plugin install exception_notification") Q1 - In it''s current setup (where it uses /public/500.html) is it possible to remove the "Status: 500 Internal Server Error Content-Type: text/html" text which seems to mysteriously get place at the top of the page? Q2 -
2008 Mar 04
2
Action Mailer throwing underscores on template name
I''ve recently run into a problem with one of my applications that refuses to send emails using ActionMailer. Looking at the log, it become obvious what''s happening, the system is looking for templates with underscores at the end. Notice the exception_notification_ . For example: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for
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 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
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
2010 Aug 17
1
how to get plugins to load
I un-commented the following in my environments.rb file config.plugins = [ :all, :exception_notification, :ssl_requirement] but I get the following errors: in `ensure_all_registered_plugins_are_loaded!'': Could not locate the following plugins: exception_notification and ssl_requirement (LoadError) from /Users/mitch/.gem/ruby/1.8/gems/rails-2.3.2/lib/rails/plugin/loader.rb:44:in
2007 Jan 06
6
Exception notifier not working
I installed the exception notifier via: /script/plugin install -x exception_notification It resides in the vendor/exception_notification directory (as advertised). I''ve configured environment.rb with the following: ExceptionNotifier.exception_recipients = %w(blakemiller-uBzjpPW2m0pBDgjK7y7TUQ@public.gmane.org) ExceptionNotifier.sender_address = %("Application Error"
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
2011 Feb 18
1
Rails plugins new official maintainers
Hey guys, This is the final list of the new maintainers of each plugin. We need two more things to do: First please the owners of the repos add the rest of the maintainers. Second I will add a note on each rails/plugin mentioning this repos updates. So from now on, if someone else is interested in helping/contributing please send a message to the appropriate repo owner. verification
2006 Mar 07
17
Handling Erros from AWDWR
I''m getting to the point now where I really need to start trapping the errors. So from my AWDWR book, I added the following directly from the book into application.rb... def rescue_action_in_public(exception) case exception when ActiveRecord::RecordNotFound, ActionController::UnknownAction render(:file => "#{RAILS_ROOT}/public/404.html",
2006 Jul 01
1
exception_notification only happening one sub domain
folks. I have dev.domain.org and qa.domain.org. I have two copies of same rails application on the two diff subdomains. When an error happens only dev.* exception_notification sends email. For qa.* I get the RuntimeError. Not the 500.html file. Donnow what''s happening. I am on Site5, FastCGI, Apache 1.33 Thx ajay -- Posted via http://www.ruby-forum.com/.
2007 Nov 14
2
Exception Notification plugin options hash handling????? backwards merge?
Today I worked on adding email exception notification to some ancillary background processes for a Rails app. Since I was already using Jamis'' exception notification plugin to notify me of errors in controllers for the web app, I figured that the path of least resistance was to try to figure out how to hook it into the daemon code. At first it looked easy. I just needed to
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
2006 Feb 16
3
rescue_action_in_public question
I''m using the rescue_action_in_public example from the Agile book to handle errors and email serious ones to me. In my application.rb controller: def rescue_action_in_public(exception) logger.error("rescue_action_in_public executed") case exception when ActiveRecord::RecordNotFound, ActionController::RoutingError, ActionController::UnknownAction
2009 Jan 11
1
FAILSAFE preventing errors from displaying?
Used to, when I had an error in development mode, I saw a pretty stack trace in the browser and didn''t have to go the server console, and in production mode I would see the pretty 500.html error page be displayed. Since I''ve started using Rails 2.2, I no longer get either of these. I get the ugly black and white "500 Internal Server Error" message. The happens the
2010 May 06
0
Problems using exception_notification 2.3.3.0
Hi. I am using rails 2.3.5 I just installed exception_notification 2.3.3.0 using ''sudo gem install exception_notification'' I have add config.gem "exception_notification" in environment.rb and ''include ExceptionNotification::Notifiable'' in application_controller.rb Now I am trying it out in development environment. It seems to catch my exception
2006 Oct 16
2
Ferret::QueryParser::QueryParseException
During our last week of Ferret / aaf usage (also our first week of Ferret / aaf usage), I have received 8 messages stating that our app encountered a Ferret::QueryParser::QueryParseException. For instance: A Ferret::QueryParser::QueryParseException occurred in foo#search: Error occurred in src/q_parser.y:279 - yyerror couldn''t parse query "com -- 404". Error message
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
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/
2009 May 12
2
rails 2.3.2 is not generating environment.rb properly
problem: rails 2.3.2 is not generating config.action_controller.session_store = :active_record_store in environment.rb this is the code in environment.rb --------------------------------------------------------------------------- # Be sure to restart your server when you modify this file # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION =