search for: exceptionnotifier

Displaying 16 results from an estimated 16 matches for "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 i...
2008 Jan 22
0
Trying to spec ExceptionNotifiable behavior
...;) get ''fail_action'' end end == First spec "should render the action ok_action" works ok, and the controller render expectation do its work. The second spec, isn''t right. I''m not trying to get the Exception to catch it on Rspec, but actully let ExceptionNotifier do its job and actually expect rendering of RAILS_ROOT/public/500.html, as shown in the third spec. Anyway, both 1 and 2, pass, but third fails with "manually raised exception" on the output: StandardError in ''FooExceptionController dealing with exceptions should render error t...
2006 May 05
1
NameError when running exception_notification plugin?
...d 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
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
2008 Jan 08
0
How do I call the exception_notifier from my own rescue_action_in_public ?
...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-private. Anyone can help me with this? How can I trigger the ExceptionNotifier myself? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this gro...
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:
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: Ta...
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/activesupport...
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 the...
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
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 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-/JYPx...
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
2010 Sep 19
4
Rails 2.3.8 - InvalidAuthenticityToken problem. URGENT!
I used to have Simple Captcha installed, but since I removed it I got all kinds of problems with login. Processing UsersController#login (for 188.177.122.179 at 2010-09-19 12:21:09) [POST] Parameters: {"commit"=>"OK", "authenticity_token"=>"/ Y0aZETCsMhyI3CkrZJK6O2NaLEoi+LRe8ZuDPWU9kc=",
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