<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebOnRails &#187; Exception</title>
	<atom:link href="http://webonrails.com/category/exception/feed/" rel="self" type="application/rss+xml" />
	<link>http://webonrails.com</link>
	<description>Its all about Ruby On Rails</description>
	<lastBuildDate>Mon, 05 Jul 2010 16:37:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>uninitialized constant ActionMailer::Quoting::Encoding</title>
		<link>http://webonrails.com/2010/04/13/uninitialized-constant-actionmailer-quoting-encoding/</link>
		<comments>http://webonrails.com/2010/04/13/uninitialized-constant-actionmailer-quoting-encoding/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 16:25:25 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[ActionMailer]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=370</guid>
		<description><![CDATA[Just a quick note, If you are getting &#8220;uninitialized constant ActionMailer::Quoting::Encoding&#8221; while using ActionMailer, then make sure that your mailer look like: class Notifier &#60; ActionMailer::Base def signup_notification(recipient) recipients recipient.email_address_with_name bcc [&#34;bcc@example.com&#34;] from &#34;system@example.com&#34; subject &#34;New account information&#34; body :account =&#62; recipient end end Actually, yesterday we were getting &#8220;uninitialized constant ActionMailer::Quoting::Encoding&#8221; while using ActionMailer]]></description>
			<content:encoded><![CDATA[<p>Just a quick note, If you are getting <strong>&#8220;uninitialized constant ActionMailer::Quoting::Encoding&#8221;</strong> while using ActionMailer, then make sure that your mailer look like:</p>
<pre class="brush: ruby;">
 class Notifier &lt; ActionMailer::Base
   def signup_notification(recipient)
     recipients recipient.email_address_with_name
     bcc        [&quot;bcc@example.com&quot;]
     from       &quot;system@example.com&quot;
     subject    &quot;New account information&quot;
     body       :account =&gt; recipient
   end
 end
</pre>
<p>Actually, yesterday we were getting &#8220;uninitialized constant ActionMailer::Quoting::Encoding&#8221; while using ActionMailer in production but it was working fine in all modes(development/production) on localhost. Our mailer was like:</p>
<pre class="brush: ruby;">
 class Notifier &lt; ActionMailer::Base
   def signup_notification(recipient)
     @recipients   = recipient.email_address_with_name
     @bcc            = [&quot;bcc@example.com&quot;]
     @from          = &quot;system@example.com&quot;
     @subject       = &quot;New account information&quot;
     @body          = :account =&gt; recipient
   end
 end
</pre>
<p>We could not find the actual issue with this mailer. But the above said error was disappeared when we changed the same mailer as following:</p>
<pre class="brush: ruby;">
 class Notifier &lt; ActionMailer::Base
   def signup_notification(recipient)
     recipients recipient.email_address_with_name
     bcc        [&quot;bcc@example.com&quot;]
     from       &quot;system@example.com&quot;
     subject    &quot;New account information&quot;
     body       :account =&gt; recipient
   end
 end
</pre>
<p>Do you guys have any idea? I would love to listen from you.</p>
<p><strong>Update:</strong> No its not solved yet. Still same issue. May be some issue with character encoding with the TMail object. <img src='http://webonrails.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><strong>Update 2:</strong> This was the issue <a href="http://github.com/hmcgowan/roo/issues#issue/4/comment/106328">http://github.com/hmcgowan/roo/issues#issue/4/comment/106328</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2010/04/13/uninitialized-constant-actionmailer-quoting-encoding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ActionMailer Error: hostname was not match with the server certificate</title>
		<link>http://webonrails.com/2009/01/28/actionmailer-error-hostname-was-not-match-with-the-server-certificate/</link>
		<comments>http://webonrails.com/2009/01/28/actionmailer-error-hostname-was-not-match-with-the-server-certificate/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 07:50:03 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[ActionMailer]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[Action mailer]]></category>
		<category><![CDATA[tls]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=198</guid>
		<description><![CDATA[You guys may have stuck with following error while using ActionMailer with Rails 2.2.2 . OpenSSL::SSL::SSLError (hostname was not match with the server certificate): /usr/lib/ruby/1.8/openssl/ssl.rb:123:in `post_connection_check' /usr/lib/ruby/1.8/net/smtp.rb:582:in `tlsconnect' /usr/lib/ruby/1.8/net/smtp.rb:562:in `do_start' /usr/lib/ruby/1.8/net/smtp.rb:525:in `start' /vendor/rails/actionmailer/lib/action_mailer/base.rb:671:in `perform_delivery_smtp' /vendor/rails/actionmailer/lib/action_mailer/base.rb:526:in `__send__' /vendor/rails/actionmailer/lib/action_mailer/base.rb:526:in `deliver!' /vendor/rails/actionmailer/lib/action_mailer/base.rb:392:in `method_missing' /app/controllers/users_controller.rb:40:in `send_email_to_confirm_user' Actually, Rails 2.2.2 turn on STARTTLS if it is available in Net::SMTP (added]]></description>
			<content:encoded><![CDATA[<p>You guys may have stuck with following error while using ActionMailer with Rails 2.2.2 .</p>
<pre class="brush: bash;">
OpenSSL::SSL::SSLError (hostname was not match with the server certificate):
    /usr/lib/ruby/1.8/openssl/ssl.rb:123:in `post_connection_check'
    /usr/lib/ruby/1.8/net/smtp.rb:582:in `tlsconnect'
    /usr/lib/ruby/1.8/net/smtp.rb:562:in `do_start'
    /usr/lib/ruby/1.8/net/smtp.rb:525:in `start'
    /vendor/rails/actionmailer/lib/action_mailer/base.rb:671:in `perform_delivery_smtp'
    /vendor/rails/actionmailer/lib/action_mailer/base.rb:526:in `__send__'
    /vendor/rails/actionmailer/lib/action_mailer/base.rb:526:in `deliver!'
    /vendor/rails/actionmailer/lib/action_mailer/base.rb:392:in `method_missing'
    /app/controllers/users_controller.rb:40:in `send_email_to_confirm_user'
</pre>
<p>Actually, <a href="http://github.com/rails/rails/commit/732c724df61bc8b780dc42817625b25a321908e4" target="_blank">Rails 2.2.2 turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and the SMTP server supports it</a>. </p>
<p>If you use postfix, then you fix it quickly by disabling tls by setting <strong>&#8220;smtpd_use_tls=no&#8221;</strong> in /etc/postfix/main.cf .</p>
<p>Remember to restart postfix and rails app server.</p>
]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/01/28/actionmailer-error-hostname-was-not-match-with-the-server-certificate/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Terminate called after throwing an instance of &#8216;int&#8217;</title>
		<link>http://webonrails.com/2008/11/24/terminate-called-after-throwing-an-instance-of-int/</link>
		<comments>http://webonrails.com/2008/11/24/terminate-called-after-throwing-an-instance-of-int/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 12:29:34 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[Exception]]></category>
		<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[mongrel]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[attachment_fu]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[image_science]]></category>
		<category><![CDATA[instance]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[terminate]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=120</guid>
		<description><![CDATA[Ever faced &#8220;terminate called after throwing an instance of &#8216;int&#8217; &#8221; error in RubyOnRails? or Specially on linux machine only not on windows. Error occurred specially when dealing with some image handling, or with attachment_fu. The cause of this error is image_science 1.1.3 . Add :processor => &#8220;Rmagick&#8221; to has_attachment options and get rid of]]></description>
			<content:encoded><![CDATA[<p>Ever faced &#8220;terminate called after throwing an instance of &#8216;int&#8217; &#8221; error in RubyOnRails?<br />
or<br />
Specially on linux machine only not on windows.</p>
<p>Error occurred specially when dealing with some image handling, or with attachment_fu. </p>
<p>The cause of this error is image_science 1.1.3 . Add :processor => &#8220;Rmagick&#8221;  to has_attachment options and get rid of this problem. </p>
<p>Enjoy!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2008/11/24/terminate-called-after-throwing-an-instance-of-int/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exceptional: Another rails application exception tracking application</title>
		<link>http://webonrails.com/2008/10/24/exceptional-another-rails-application-exception-tracking-application/</link>
		<comments>http://webonrails.com/2008/10/24/exceptional-another-rails-application-exception-tracking-application/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 05:45:51 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[Exception]]></category>
		<category><![CDATA[Hoptoad]]></category>
		<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[exception tracking]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[rails_plugin]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Exception Handelling]]></category>
		<category><![CDATA[Notification]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=94</guid>
		<description><![CDATA[Some days ago I found HopToad, as a subtitute of exception notifier plugin. Now, today I found another rails exception tracking application named Exceptional. Hoptoad is free while exceptional is paid.]]></description>
			<content:encoded><![CDATA[<p>Some days ago I found <a href="http://hoptoadapp.com" target="_blank">HopToad</a>, as a subtitute of exception notifier plugin. Now, today I found another rails exception tracking application named <a href="http://getexceptional.com/" target ="_blank">Exceptional</a>. Hoptoad is free while exceptional is paid. <img src='http://webonrails.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2008/10/24/exceptional-another-rails-application-exception-tracking-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hoptoad: A Rails Exception Handling Service</title>
		<link>http://webonrails.com/2008/08/12/hoptoad-an-rails-exception-handling-service/</link>
		<comments>http://webonrails.com/2008/08/12/hoptoad-an-rails-exception-handling-service/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 10:31:17 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[Exception]]></category>
		<category><![CDATA[Hoptoad]]></category>
		<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[notifications]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Exception Handelling]]></category>

		<guid isPermaLink="false">http://webonrails.com/2008/08/12/hoptoad-an-rails-exception-handling-service/</guid>
		<description><![CDATA[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. Also if you have 2-3 or more apps running in production then managing such exception mails is also a big headache. In such case one have]]></description>
			<content:encoded><![CDATA[<p>Many of you guys(as me) may have used Exception Notifier plugin to get<a href="http://webonrails.com/2006/12/28/plugin-exception-notifier-get-detail-information-of-exceptions-occurred-on-the-live-server-right-on-your-inbox/"> Rails app exceptions right into your mailbox</a>, and may also have faced some problem like <a href="http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/">this</a>.</p>
<p>Also if you have 2-3 or more apps running in production then managing such exception mails is also a big headache. In such case one have to keep track of many things like which type of error is resolved/unresolved for which project etc&#8230; .</p>
<p>So, here is a good news for those who don&#8217;t know about <a href="http://www.thoughtbot.com/">Hoptoad</a>. It is an hosted service by <a href="http://www.thoughtbot.com/">thoughtbot</a> which receives your exceptions, notify you once per error type by email and keep track(resolved/unresolved, count etc&#8230;) of your errors on project basis.</p>
<p>By now its a free service. I&#8217;m gonna use this as my next project goes live. What abt you??? ;-P</p>
]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2008/08/12/hoptoad-an-rails-exception-handling-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Careful while using Exception Notifier Plugin</title>
		<link>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/</link>
		<comments>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 15:31:17 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[Exception]]></category>
		<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[notifications]]></category>
		<category><![CDATA[rails_plugin]]></category>
		<category><![CDATA[Exception Handelling]]></category>
		<category><![CDATA[Notification]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/</guid>
		<description><![CDATA[Exception Notifier Plugin can make you crazy as it made me yesterday. Let me explain, I was using this plugin for one of my project and our server got a DOS attack. We were requested some URLs that doesn&#8217;t exists, like http://somedomain.com/game.rar etc&#8230; . I had registered my gmail account to get notification mails. And]]></description>
			<content:encoded><![CDATA[<p>Exception Notifier Plugin can make you crazy as it made me yesterday.</p>
<p>Let me explain, I was using this plugin for one of my project and our server got a DOS attack. We were requested some URLs that doesn&#8217;t exists, like http://somedomain.com/game.rar etc&#8230; . I had registered my gmail account to get notification mails. And due to this attack  I was sent around 7631*61 mails in 10 hrs. This made me crazy, because I was unable to receive any other email as (may be) my queue was busy with receiving notification mails. Then gmail started bouncing back those mails saying <strong>&#8220;The Gmail user you are trying to contact is receiving  mail at a rate that prevents additional messages from being delivered. Please resend your message at a later<br />
time&#8221;</strong>. And then it became a loop, Gmail-My Server-Gmail.</p>
<p>I found 303552 mails in postfix queue of my server. That were ready to send to gmail. Now my first priority was to clean that postfix queue, so I did it by issuing <strong>&#8220;sudo postsuper -d ALL&#8221;</strong>. I hope to receive mails ASAP, It is now more than 48 hrs i received any genuine mail.</p>
<p>So I request you to be careful while using this plugin <img src='http://webonrails.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><em>Note: Since my gmail account not receiving mails, so please sent it to akhil at vinsol dot com</em></p>
]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2007/07/26/careful-while-using-exception-notifier-plugin/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Plugin: Exception Notifier; Get detail information of exceptions occurred on the live server right on your inbox.</title>
		<link>http://webonrails.com/2006/12/28/plugin-exception-notifier-get-detail-information-of-exceptions-occurred-on-the-live-server-right-on-your-inbox/</link>
		<comments>http://webonrails.com/2006/12/28/plugin-exception-notifier-get-detail-information-of-exceptions-occurred-on-the-live-server-right-on-your-inbox/#comments</comments>
		<pubDate>Thu, 28 Dec 2006 09:47:17 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[Exception]]></category>
		<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[notifications]]></category>
		<category><![CDATA[rails_plugin]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Exception Handelling]]></category>

		<guid isPermaLink="false">http://webonrails.com/2006/12/28/plugin-exception-notifier-get-detail-information-of-exceptions-occurred-on-the-live-server-right-on-your-inbox/</guid>
		<description><![CDATA[I don&#8217;t know whether you guys are aware of Exception Notifier plugin written by Jamis Buck or not. If you don&#8217;t then I would like to share this with you. The Exception Notifier plugin provides a mailer object and a default set of templates for sending email notifications when errors occur in a Rails application.]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know whether you guys are aware of Exception Notifier plugin written by Jamis Buck or not. If you don&#8217;t then I would like to share this with you.</p>
<div id="description">The Exception Notifier plugin provides a mailer object and a default set of templates for sending email notifications when errors occur in a Rails application. The plugin is configurable and allows programmers to specify:</p>
<ul>
<li>the sender address of the email</li>
<li>the recipient addresses</li>
<li>the text used to prefix the subject line</li>
</ul>
<p>The email includes information about the current request, session, and environment, and also gives a backtrace of the exception.</p>
<p>I am using this plugin and found it very useful, and suggest you to use it.</p>
<p>You can get this plugin from <a target="_blank" title="http://dev.rubyonrails.org/svn/rails/plugins/exception_notification/" href="http://dev.rubyonrails.org/svn/rails/plugins/exception_notification/">http://dev.rubyonrails.org/svn/rails/plugins/exception_notification/</a></div>
]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2006/12/28/plugin-exception-notifier-get-detail-information-of-exceptions-occurred-on-the-live-server-right-on-your-inbox/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
