Tsvetelina Borisova
2012-Jul-06 10:16 UTC
ActionMailer::Base.deliveries returns array with duplicated elements in production env
Hello, I am testing for email sending from my app and I have a scenario that passes in test env but not in production. When I make dump of ActionMailer::Base.deliveries I saw that it returns array with duplicated elements in production env but not in test env. I am using sqlite3 for test env and mysql for production. Also I use delayed_job. Does anyone had the same issue? Thanks in advance :) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/cGG19A9jbxsJ. 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-US.
Erwin
2012-Jul-06 10:44 UTC
Re: ActionMailer::Base.deliveries returns array with duplicated elements in production env
Did you try wo using delayed_jobs ? I remember having similar issue w it ... On 6 juil, 12:16, Tsvetelina Borisova <ts.boriso...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello, I am testing for email sending from my app and I have a scenario > that passes in test env but not in production. When I make dump of > ActionMailer::Base.deliveries I saw that it returns array with duplicated > elements in production env but not in test env. I am using sqlite3 for test > env and mysql for production. Also I use delayed_job. Does anyone had the > same issue? Thanks in advance :)-- 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-US.
Tsvetelina Borisova
2012-Jul-06 11:55 UTC
Re: ActionMailer::Base.deliveries returns array with duplicated elements in production env
delayed_jobs? I don''t know about it. Is it a method? 06 юли 2012, петък, 13:16:43 UTC+3, Tsvetelina Borisova написа:> > Hello, I am testing for email sending from my app and I have a scenario > that passes in test env but not in production. When I make dump of > ActionMailer::Base.deliveries I saw that it returns array with duplicated > elements in production env but not in test env. I am using sqlite3 for test > env and mysql for production. Also I use delayed_job. Does anyone had the > same issue? Thanks in advance :) >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/nt7xHAC6BMEJ. 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
Possibly Parallel Threads
- How to add a content to an email created with ActionMailer. mail(..,:body) and do |format| either
- Fetch Facebook fanpage in rails
- Rails 3 app has strange behaviour with Mysql2 database
- puppet-dashboard delayed workers
- puppet-dashboard load balanced report processing issues.