[Rails-core] Why is Transaction::Simple incompletely bundled ?
Francois Beausoleil
francois.beausoleil at gmail.com
Tue Mar 28 22:15:56 GMT 2006
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/
More information about the Rails-core
mailing list