uninitialized constant ActionMailer::Quoting::Encoding

Published on

Just a quick note, If you are getting “uninitialized constant ActionMailer::Quoting::Encoding” while using ActionMailer, then make sure that your mailer look like: Actually, yesterday we were getting “uninitialized constant ActionMailer::Quoting::Encoding” while using ActionMailer in production but it was working fine in all modes(development/production) on localhost. Our mailer was like: We could not find the actual … Continue reading uninitialized constant ActionMailer::Quoting::Encoding

ActionMailer Error: hostname was not match with the server certificate

Published on

You guys may have stuck with following error while using ActionMailer with Rails 2.2.2 . Actually, 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. If you use postfix, then you fix it quickly by disabling tls by setting “smtpd_use_tls=no” in /etc/postfix/main.cf . … Continue reading ActionMailer Error: hostname was not match with the server certificate

Terminate called after throwing an instance of ‘int’

Published on

Ever faced “terminate called after throwing an instance of ‘int’ ” 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 => “Rmagick” to has_attachment options and get rid of … Continue reading Terminate called after throwing an instance of ‘int’