lib/sendgrid-actionmailer.rb in sendgrid-actionmailer-0.0.4 vs lib/sendgrid-actionmailer.rb in sendgrid-actionmailer-0.0.5

- old
+ new

@@ -14,10 +14,10 @@ end end def deliver!(mail) email = SendGrid::Mail.new do |m| - m.to = mail[:to] + m.to = mail[:to].addresses m.from = mail[:from] m.subject = mail[:subject] end # TODO: This is pretty ugly