Philip Hallstrom wrote:>> Is there any built in method/gem which can send an email when any kind
>> of error comes in your application?
>
> There are. I''d suggest looking into hoptoadapp or exception
notifier or
> one of the other services that provide hooks for this sort of thing.
>
> Much more convenient than getting an email per error...
Hello,
Thanks for your quick reply. After some R&D, i find a gem called
exception
notification(http://github.com/rails/exception_notification/tree/2-3-stable)
which do the same work as i wanted. So i have installed this gem and
configured it according to what is written on their page. I mean
included in application controller and specified the default recepients
as well in environments.rb.
But when i run the server, this is giving me error as,
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:105:in
`const_missing'': uninitialized constant
Rails::Initializer::ExceptionNotification (NameError)
Any idea guys why it is happening.. ?
>
> -philip
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.