<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Careful while using Exception Notifier Plugin</title>
	<atom:link href="http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/</link>
	<description>Its all about Ruby On Rails</description>
	<pubDate>Thu, 04 Dec 2008 02:47:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Hoptoad: An Rails Exception Handling Service &#124; Web On Rails</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-416</link>
		<dc:creator>Hoptoad: An Rails Exception Handling Service &#124; Web On Rails</dc:creator>
		<pubDate>Wed, 15 Oct 2008 06:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-416</guid>
		<description>[...] Many of you guys(as me) may have used Exception Notifier plugin to get Rails app exceptions right into your mailbox, and may also have faced some problem like this. [...]</description>
		<content:encoded><![CDATA[<p>[...] Many of you guys(as me) may have used Exception Notifier plugin to get Rails app exceptions right into your mailbox, and may also have faced some problem like this. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Przemyslaw Wroblewski</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-413</link>
		<dc:creator>Przemyslaw Wroblewski</dc:creator>
		<pubDate>Tue, 01 Jul 2008 07:32:56 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-413</guid>
		<description>I've faced similar problems back in old php days - I've error notification that sends email when problem occurs - same pattern here. Then I've workaround too many emails problem using error grouping and my cron script sends 1 email with several errors each 10 minutes.
But since now I'm working on lite traffic sites I haven't created any solution for rails yet.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve faced similar problems back in old php days - I&#8217;ve error notification that sends email when problem occurs - same pattern here. Then I&#8217;ve workaround too many emails problem using error grouping and my cron script sends 1 email with several errors each 10 minutes.<br />
But since now I&#8217;m working on lite traffic sites I haven&#8217;t created any solution for rails yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicolash</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-412</link>
		<dc:creator>nicolash</dc:creator>
		<pubDate>Sun, 09 Sep 2007 16:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-412</guid>
		<description>hmm, a RoutingError should be treated as 404, so no notification should be triggered...
maybe you have an older version ?


   def exceptions_to_treat_as_404
      exceptions = [ActiveRecord::RecordNotFound,
                    ActionController::UnknownController,
                    ActionController::UnknownAction]
      exceptions</description>
		<content:encoded><![CDATA[<p>hmm, a RoutingError should be treated as 404, so no notification should be triggered&#8230;<br />
maybe you have an older version ?</p>
<p>   def exceptions_to_treat_as_404<br />
      exceptions = [ActiveRecord::RecordNotFound,<br />
                    ActionController::UnknownController,<br />
                    ActionController::UnknownAction]<br />
      exceptions</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akhil Bansal</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-411</link>
		<dc:creator>Akhil Bansal</dc:creator>
		<pubDate>Thu, 30 Aug 2007 04:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-411</guid>
		<description>Thanks Surendra, I'll look at that</description>
		<content:encoded><![CDATA[<p>Thanks Surendra, I&#8217;ll look at that</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surendra Singhi</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-410</link>
		<dc:creator>Surendra Singhi</dc:creator>
		<pubDate>Wed, 29 Aug 2007 16:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-410</guid>
		<description>i believe you are probably using old version of exception_notification(maybe from old repo) which sends emails on ActionController::RoutingError, the latest trunk version doesn't do that.</description>
		<content:encoded><![CDATA[<p>i believe you are probably using old version of exception_notification(maybe from old repo) which sends emails on ActionController::RoutingError, the latest trunk version doesn&#8217;t do that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-409</link>
		<dc:creator>Chad</dc:creator>
		<pubDate>Tue, 07 Aug 2007 19:03:14 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-409</guid>
		<description>very nice blog...  well done!</description>
		<content:encoded><![CDATA[<p>very nice blog&#8230;  well done!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Satrapa</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-408</link>
		<dc:creator>Alex Satrapa</dc:creator>
		<pubDate>Fri, 27 Jul 2007 01:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-408</guid>
		<description>Another option is to have your notifications sent out-bound through the company's MSA, and have them do rate-limiting and blacklisting on that MSA. This means that in a DoS situation, you'll limit the number of outbound messages and prevent further DoS due to the volume of email exiting your network.</description>
		<content:encoded><![CDATA[<p>Another option is to have your notifications sent out-bound through the company&#8217;s MSA, and have them do rate-limiting and blacklisting on that MSA. This means that in a DoS situation, you&#8217;ll limit the number of outbound messages and prevent further DoS due to the volume of email exiting your network.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pratik</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-407</link>
		<dc:creator>Pratik</dc:creator>
		<pubDate>Thu, 26 Jul 2007 19:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-407</guid>
		<description>On a side note, you might want to add a route like :

map '*whatever', :controller =&#38;gt; 'some', :action =&#38;gt; 'my_custom_not_found'

then in SomeController :

def my_custom_not_found
  render :nothing =&#38;gt; true, :status =&#38;gt; 404
end

Also, it's not a great idea to have default "map.connect ':controller/:action/:id'" route in your production applications. May be you should go RESTful or at least add a regular expression to your default route. Something like :

map.connect ':controller/:action/:id', :controller =&#38;gt; /mycontroller1/mycontrolle2/</description>
		<content:encoded><![CDATA[<p>On a side note, you might want to add a route like :</p>
<p>map &#8216;*whatever&#8217;, :controller =&#38;gt; &#8217;some&#8217;, :action =&#38;gt; &#8216;my_custom_not_found&#8217;</p>
<p>then in SomeController :</p>
<p>def my_custom_not_found<br />
  render :nothing =&#38;gt; true, :status =&#38;gt; 404<br />
end</p>
<p>Also, it&#8217;s not a great idea to have default &#8220;map.connect &#8216;:controller/:action/:id&#8217;&#8221; route in your production applications. May be you should go RESTful or at least add a regular expression to your default route. Something like :</p>
<p>map.connect &#8216;:controller/:action/:id&#8217;, :controller =&#38;gt; /mycontroller1/mycontrolle2/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akhil Bansal</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-406</link>
		<dc:creator>Akhil Bansal</dc:creator>
		<pubDate>Thu, 26 Jul 2007 18:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-406</guid>
		<description>Tim,
I agree with you</description>
		<content:encoded><![CDATA[<p>Tim,<br />
I agree with you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Case</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-405</link>
		<dc:creator>Tim Case</dc:creator>
		<pubDate>Thu, 26 Jul 2007 18:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comment-405</guid>
		<description>I'm guessing the big takeaway from this would be just to create a special gmail account for the exception notification plugin then in an extremely unusual circumstance such as a dos attack, you still have access to your regular email?</description>
		<content:encoded><![CDATA[<p>I&#8217;m guessing the big takeaway from this would be just to create a special gmail account for the exception notification plugin then in an extremely unusual circumstance such as a dos attack, you still have access to your regular email?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
