Hi, can anyone tell me : a) IF ARMailer works in Rails 2.3, and b) HOW to make it work? (Anything special to do or to think about?) -> I have recently upgraded to Rails 2.3 and ARMailer stopped saving the emails to the database table (they show up in the log though). I guess I should have waited a few months before doing that Rails ugrade :-( Thanks for any hint ! Tom -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
The branch from http://www.github.com/adzap works in 2.3. Sean McGilvray Executive Director Identity Theft Specialist Pre-Paid Legal Service''s, Inc. NYSE:PPD Phone: 760-486-1019 smcgilvray-C6gt8ZI8z3bIY2DP0bkpxA@public.gmane.org http://www.transferhome.net On Tue, Mar 31, 2009 at 7:25 AM, Tom Ha <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>wrote:> > Hi, > > can anyone tell me : > > a) IF ARMailer works in Rails 2.3, and > b) HOW to make it work? (Anything special to do or to think about?) > > -> I have recently upgraded to Rails 2.3 and ARMailer stopped saving the > emails to the database table (they show up in the log though). > > I guess I should have waited a few months before doing that Rails ugrade > :-( > > Thanks for any hint ! > Tom > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
It is not the Rails version that is the problem. It is the upgrade to Ruby 1.8.7 or higher that is causing the problem. If you us the http://www.github.com/adzap branch you will be able to get up and running. Sean McGilvray Executive Director Identity Theft Specialist Pre-Paid Legal Service''s, Inc. NYSE:PPD Phone: 760-486-1019 smcgilvray-C6gt8ZI8z3bIY2DP0bkpxA@public.gmane.org http://www.transferhome.net On Tue, Mar 31, 2009 at 7:27 AM, Sean McGilvray <smcgilvray-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> The branch from http://www.github.com/adzap works in 2.3. > > > Sean McGilvray > Executive Director > Identity Theft Specialist > Pre-Paid Legal Service''s, Inc. NYSE:PPD > Phone: 760-486-1019 > smcgilvray-C6gt8ZI8z3bIY2DP0bkpxA@public.gmane.org > http://www.transferhome.net > > > > On Tue, Mar 31, 2009 at 7:25 AM, Tom Ha <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>wrote: > >> >> Hi, >> >> can anyone tell me : >> >> a) IF ARMailer works in Rails 2.3, and >> b) HOW to make it work? (Anything special to do or to think about?) >> >> -> I have recently upgraded to Rails 2.3 and ARMailer stopped saving the >> emails to the database table (they show up in the log though). >> >> I guess I should have waited a few months before doing that Rails ugrade >> :-( >> >> Thanks for any hint ! >> Tom >> -- >> Posted via http://www.ruby-forum.com/. >> >> >> >> >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks a lot for your replies! Unfortunately, I couldn''t get it to work - no error message whatsoever (log, etc.) - emails are printed entirely in the log - emails are not stored in the database table - even if I set delivery_method = :smtp, the emails are not sent If anyone has an idea why, I''d be really happy to hear about it... I have: - ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] - Rails 2.3.2 - switched from the original ar_mailer gem to the adzap-ar_mailer gem -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I know you switched to the new adzap. Did you follow there instructions to getting it up and running that are on the page. It is a little different than the original. Sean McGilvray Executive Director Identity Theft Specialist Pre-Paid Legal Service''s, Inc. NYSE:PPD Phone: 760-486-1019 smcgilvray-C6gt8ZI8z3bIY2DP0bkpxA@public.gmane.org http://www.transferhome.net On Tue, Mar 31, 2009 at 9:09 AM, Tom Ha <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>wrote:> > Thanks a lot for your replies! > > Unfortunately, I couldn''t get it to work > - no error message whatsoever (log, etc.) > - emails are printed entirely in the log > - emails are not stored in the database table > - even if I set delivery_method = :smtp, the emails are not sent > > If anyone has an idea why, I''d be really happy to hear about it... > > I have: > - ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] > - Rails 2.3.2 > - switched from the original ar_mailer gem to the adzap-ar_mailer gem > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I actually did everything they say on their page - except for: - "Create a new migration" (since my "old" db table is already there + I assume it remains the same) - "Create a new model" (since my "old" model already exists + I assume it remains the same) - "Then to run it: $ ar_sendmail" (since I don''t even get to the point where the emails should be stored in the db) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
ADZap has a ticketing system at adzap.lighthouseapp.com that will allow you to submit a ticket and he is really quick about replying. Make sure to put in your code and traces that you check how to put those in with the format helper section. Sean McGilvray Executive Director Identity Theft Specialist Pre-Paid Legal Service''s, Inc. NYSE:PPD Phone: 760-486-1019 smcgilvray-C6gt8ZI8z3bIY2DP0bkpxA@public.gmane.org http://www.transferhome.net On Tue, Mar 31, 2009 at 9:28 AM, Tom Ha <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>wrote:> > I actually did everything they say on their page - except for: > > - "Create a new migration" > (since my "old" db table is already there + I assume it remains the > same) > > - "Create a new model" > (since my "old" model already exists + I assume it remains the same) > > - "Then to run it: $ ar_sendmail" > (since I don''t even get to the point where the emails should be stored > in the db) > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ok, I will do that - thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Here''s the solution for those of you who will encounter the same issue ("the class reloading issue"): Drop the file attached (ar_mailer_patch.rb) into you initializers folder. The file uses the explicit Email class name instead of the class variable, to create the email record. Kudos to Adam Meehan (adzap-ar_mailer) for providing the solution! Tom Attachments: http://www.ruby-forum.com/attachment/3531/ar_mailer_patch.rb -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Tom Ha wrote in post #800549:> Here''s the solution for those of you who will encounter the same issue > ("the class reloading issue"): > > Drop the file attached (ar_mailer_patch.rb) into you initializers > folder. > > The file uses the explicit Email class name instead of the class > variable, to create the email record. > > Kudos to Adam Meehan (adzap-ar_mailer) for providing the solution! > TomThanks a lot for this post. I have been facing issues with ar_mailer and now able to make it work with the file you provided (ar_amiler_patch.rb). Thanks a lot... -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.