search for: exceptionnotifi

Displaying 16 results from an estimated 16 matches for "exceptionnotifi".

Did you mean: exceptionnotifier
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" <blakemiller-uBzjpPW2m0pBDgjK7y7TUQ@public.gmane.org>) Note: the documentation didn''t say *where* in environment.rb to put it, so I put...
2008 Jan 22
0
Trying to spec ExceptionNotifiable behavior
Hello List. I''m trying to overwrite part of ExceptionNotifiable (ExceptionNotification plugin) to render customized error 500 pages based on browser agents. For this, I''ve created a fake controller that inherits directly from ActionController::Base: class FooExceptionController < ActionController::Base include ExceptionNotifiable # this a...
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...
2007 Jul 17
0
uninitialized constant ExceptionNotifiable deploy_with_migrations in TEST
I have installed the exception_notification plugin, and it works fine when system is deployed to production. and I have not problems deploying to dev, and not test environments. However, when I try to do a deploy_with_migrations, I get the uninitialized constant ApplicationController::ExceptionNotifiable error. There must be something ''special'' about the test env, but I haven''t seen anything to tell me to set env any differently. I really don''t want notifications in test, but don''t want to disable for the other environments. So, I don''t ha...
2008 Jan 08
0
How do I call the exception_notifier from my own rescue_action_in_public ?
...ller/application.rb def rescue_action_in_public(exception) @saved_exception = exception @saved_request = request render :partial => "errorpage" end After pushing the form in errorpage i go to this: #controller/application.rb def submit_error() request = params[:saved_request] ExceptionNotifiable::rescue_action_in_public(params[:saved_exception]) end However, I keep getting errors like undefined method `rescue_action_in_public'' for ExceptionNotifiable:Module even though they are in that module. I have included the ExceptionNotifiable and also tried to make the methods non-pr...
2007 Jun 16
2
Specs don''t find modules when using the secure_actions or ssl_requirement plugin
Hello, I''m trying the secure_actions plugin (or ssl_requirements) I''m installed the plugin, and added the include in application controller: class ApplicationController < ActionController::Base include ExceptionNotifiable include AuthenticatedSystem include SecureActions ... but when I try to run the specs I got this error: /home/edgar/sandboxes/sugarstats/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:477:in `const_missing'': uninitialized constant A...
2008 Mar 04
2
Action Mailer throwing underscores on template name
...ms/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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:...
2007 Aug 16
0
Update from RoR 1.1.6 - 1.2.3 Rake fails
...oke 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/ruby/gems/1.8/gems/activesuppo...
2007 Jul 26
2
Ruby 1.8.6 + Rails 1.2.3 + ErrorNotification == NameError !?
Hallo Everybody, I updated recently to the latest versions of Ruby and Rails. Now it seems to me that the plugin ErrorNotification doesn''t run anymore. I even tried to create a new project, installed the plugin and added the following line to my development.rb: [code] ExceptionNotifier.exception_recipients = "adress-QPFuF50DZNq+XT7JhA+gdA@public.gmane.org" [/code] When I try to start my server it hangs with an error. I tried it on Mac and Windows, in development- and production-mode, with webrick and mongrel and I''m always getting the following error: [code...
2007 Nov 14
2
Exception Notification plugin options hash handling????? backwards merge?
...w to hook it into the daemon code. At first it looked easy. I just needed to ''mock'' some methods so that I could mimic the controller, and (as it turned out the request since there wasn''t one). it looked like I could set the sections list and the host by calling: ExceptionNotifier.deliver_exception_notification( exception, self, # Controller nil, # Request :host => "localhost", :sections => %w(environment backtrace) ) Thinking that the code in ExceptionNotifier#exception_notification would prefer the values in th...
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 03
0
changes to the exception_notification plugin
...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 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. Ja...
2008 Jun 06
0
load_missing_constant': uninitialized constant ExceptionNoti
I have installed exception notifier plugin in my application & i am getting the error like this load_missing_constant'': uninitialized constant ExceptionNotifier (NameError) Please solve it -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JY...
2008 Oct 20
0
Problem with exception notification with Rails edge....
I''m having hard time to make it work. To test it I did force an error in my controller but nothing happened. I did include the ExceptionNotifiable in my application.rb Anything else to do to at least see come in that plugin when an error occurs? RĂ©mi -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rai...
2010 Sep 19
4
Rails 2.3.8 - InvalidAuthenticityToken problem. URGENT!
...7913680b13c2028f9cdd827f2daa898c4ad4bdf4da63dc7c17788c5028ad6eadaf8c81d0682dbd83d1bd05824d52a12fdc7500e37a6b47'' } # application_controller.rb class ApplicationController < ActionController::Base include ApplicationHelper # include SimpleCaptcha::ControllerValidation include ExceptionNotifiable helper :all # include all helpers, all the time protect_from_forgery # :secret => ''sdasfagagsa'' # See ActionController::RequestForgeryProtection for details What is the correct configuration for forgery protection to work without screwing up the login process!?...
2007 Dec 28
9
lost connection 2.0
I lost my "connection lost" error.. but now I''ve got a "Mysql::Error: MySQL server has gone away" error.. It comes from: /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in ''log''. I''m not sure if Rails / BackgroundRb uses it .. but i''ve got the mysql (2.7) gem