Francois Beausoleil
2006-Mar-28 22:15 UTC
Why is Transaction::Simple incompletely bundled ?
Hi ! Having a problem here. I'm fighting ActiveRecord really. ActiveRecord depends on Transaction::Simple, and helpfully bundles simple.rb. Great, except it doesn't work with PDF::Writer and PDF::SimpleTable. PDF::SimpleTable requires transaction/group, which is NOT bundled. Two solutions: 1. Stop bundling Transaction::Simple and use Gem dependencies to make the dependency explicit; 2. Bundle Transaction::Simple completely, even keeping the same directory structure, because at the moment, I had to patch PDF::Writer and PDF::SimpleTable to remove "transaction/" from the require line. Should I simply use a patched AR where Transaction::Simple is NOT bundled ? This is what I had been doing until I updated one of my apps to r4091. -- François Beausoleil http://blog.teksol.info/ _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core
David Heinemeier Hansson
2006-Mar-29 04:02 UTC
Re: Why is Transaction::Simple incompletely bundled ?
> 1. Stop bundling Transaction::Simple and use Gem dependencies to make > the dependency explicit;We will indeed stop bundling Transaction::Simple when we decide to do our slimfast release. The one where we decide its okay to break backwards compatibility. That''ll probably be Rails 2.0. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework