search for: exceptionnotifiable

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

2007 Jan 06
6
Exception notifier not working
...m0pBDgjK7y7TUQ@public.gmane.org>) Note: the documentation didn''t say *where* in environment.rb to put it, so I put it outside of any functions. Rails is configured (through environment.rb) as: RAILS_GEM_VERSION = ''1.1.2'' In my application controller, I have: include ExceptionNotifiable ...as the documentation says The problem: I get nothing. No emails, no pretty error page, just the standard error template that I always get when there is an error. I''ve restarted the server countless times to no avail, and to short-circuit the fact that I''m running the server...
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 actio...
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 m...
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 have a...
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-privat...
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 Appli...
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
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/
2007 Jul 26
2
Ruby 1.8.6 + Rails 1.2.3 + ErrorNotification == NameError !?
...nd Windows, in development- and production-mode, with webrick and mongrel and I''m always getting the following error: [code] /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:477:in const_missing'': uninitialized constant Rails::Initializer::ExceptionNotifiable (NameError) from /Users/dm/Documents/rails/pws_de/config/../config/ environments/development.rb:58:in load_environment'' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ initializer.rb:204:in `load_environment'' from /usr/local/lib/ruby/gems/1.8/gems/a...
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
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
...t 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. Jamis, what do you (or anyone else for that matter) think? Thanks again jamis for a killer plugin, Adam --~--~...
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:
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 Rails:...
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!? Than...
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