Ajay
2007-Oct-02 04:11 UTC
db transactions problem after transaction-simple gem is installed
HI All, I have run into a problem. I have a rails 1.1.6 setup. I also have the following gems installed pdf-writer-1.1.3.gem color-tools-1.3.0.gem transaction-simple-1.4.0.gem Upon running the tests "rake test:functionals" all my testcases with DB transactions failed. Upon investigations it was found that transaction-simple was at work. Is there anyway to circumvent this? This behaviour repeated when we tested the application manually also. Any help in this direction will be appreciated most. Cheers, Ajay --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Roderick van Domburg
2007-Oct-02 09:27 UTC
Re: db transactions problem after transaction-simple gem is
Ajay wrote:> HI All, > > I have run into a problem. > > I have a rails 1.1.6 setup. > I also have the following gems installed > > pdf-writer-1.1.3.gem > color-tools-1.3.0.gem > transaction-simple-1.4.0.gem > > Upon running the tests "rake test:functionals" all my testcases with > DB transactions failed. > Upon investigations it was found that transaction-simple was at work. > Is there anyway to circumvent this? > > This behaviour repeated when we tested the application manually also. > > Any help in this direction will be appreciated most.Don''t have the transaction-simple gem installed? If it ain''t broken, don''t fix it. Rails 1.1.6 doesn''t require it, and it might be that newer versions of the gem aren''t compatible with that older Rails version. -- Roderick van Domburg http://www.nedforce.com -- 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 -~----------~----~----~----~------~----~------~--~---
tmorgan99
2007-Oct-25 19:03 UTC
Re: db transactions problem after transaction-simple gem is
Rails 1.2.5! Although Transaction::Simple (1.3) is loaded into ActiveRecord/vendor, transactions are tagged as deprecatedh This ignores my gem (1.4) Why load an older version, if it is not to be used? On Oct 2, 2:27 am, Roderick van Domburg <rails-mailing-l...@andreas- s.net> wrote:> Ajay wrote: > > HI All, > > > I have run into a problem. > > > I have a rails 1.1.6 setup. > > I also have the following gems installed > > > pdf-writer-1.1.3.gem > > color-tools-1.3.0.gem > > transaction-simple-1.4.0.gem > > > Upon running the tests "rake test:functionals" all my testcases with > > DB transactions failed. > > Upon investigations it was found thattransaction-simplewas at work. > > Is there anyway to circumvent this? > > > This behaviour repeated when we tested the application manually also. > > > Any help in this direction will be appreciated most. > > Don''t have thetransaction-simplegem installed? If it ain''t broken, > don''t fix it. > > Rails 1.1.6 doesn''t require it, and it might be that newer versions of > the gem aren''t compatible with that older Rails version. > > -- > Roderick van Domburghttp://www.nedforce.com > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---