postageapp / postageapp-ruby

PostageApp Ruby gem makes sending transactional email from applications easy
http://postageapp.com/
MIT License
23 stars 13 forks source link

Latest Rails 3.2.13 breaks with PostageApp #2

Closed domness closed 11 years ago

domness commented 11 years ago

I'm getting the following errors now after updating Rails due to the latest security changes:

/Users/Mac/.rvm/gems/ruby-1.9.3-p194@employment-hero/gems/mail-2.5.3/lib/mail/check_delivery_params.rb:9:in `check_params': undefined method `return_path' for #<PostageApp::Request:0x007fc423f5f160> (NoMethodError)
from /Users/Mac/.rvm/gems/ruby-1.9.3-p194@employment-hero/gems/mail-2.5.3/lib/mail/network/delivery_methods/test_mailer.rb:39:in `deliver!'
from /Users/Mac/.rvm/gems/ruby-1.9.3-p194@employment-hero/gems/postageapp-1.0.18/lib/postageapp/mailer/mailer_3.rb:157:in `deliver'

This is pretty important as now our site can't be updated until this is sorted :-1:

GBH commented 11 years ago

Yeap. I can replicate this error. Fix is coming.

GBH commented 11 years ago

OK, should be working now. Grab 1.0.19 It was actually only erroring out on the TestMailer. It would work just fine in dev/production.

domness commented 11 years ago

@GBH Okay, thanks! :) :+1: