ActionMailer::Base.deliveries returns array with duplicated elements in production env

25 views
Skip to first unread message

Tsvetelina Borisova

unread,
Jul 6, 2012, 6:16:43 AM7/6/12
to rubyonra...@googlegroups.com
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 :)

Erwin

unread,
Jul 6, 2012, 6:44:22 AM7/6/12
to Ruby on Rails: Talk
Did you try wo using delayed_jobs ? I remember having similar issue w
it ...

Tsvetelina Borisova

unread,
Jul 6, 2012, 7:55:16 AM7/6/12
to rubyonra...@googlegroups.com
delayed_jobs? I don't know about it. Is it a method?
Reply all
Reply to author
Forward
0 new messages