[rt-users] RT::Transactions->count
Alex Vandiver
alexmv at bestpractical.com
Mon Dec 19 17:40:23 EST 2005
On Tue, 2005-12-20 at 09:02 +1030, Luke Vanderfluit wrote:
> [snip] Why would that be?
Change it to $transactions->Count (note the uppercase) and it should
work. DBIx::SearchBuilder allows you to use under_score'd versions of
all of the methods if you happen to have the 'capitalization' module
installed. Of course, as you found out, this makes the code
non-portable. For instance, it bit us as well in the RTFM 2.2.0RC1
release. This makes the 'capitalization' code kinda irritating; Jesse
calls it a "failed experiment," I call it a "silly hack."
Luckily, we went back and did it right for Jifty::DBI, but that won't
help the RT codebase for a while yet. ;>
- Alex
More information about the rt-users
mailing list