Subject: | object reference is broken when target table name ends with 'es' |
Hi All,
I've noticed that if SQL table has a name
which looks like a plural form (e.g. 'obj_res'),
then the object reference to this object becomes broken.
There is a tiny script in the attached archive that
shows the problem.
It can be fixed by setting inflection rule (e.g. inflect_singular =>
{'obj_res' => 'obj_res'}).
But IMHO it's not a proper solution of the problem.
Thanks in advance,
Dmitriy Samborskiy
P.S. My environment is:
$ perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi
. . .
$ rpm -q perl
perl-5.8.8-10
$ uname -a
Linux ac29.niisi.msk.ru 2.6.20-1.2962.fc6 #1 SMP Tue Jun 19 18:24:12 EDT
2007 i686 i686 i386 GNU/Linux
Subject: | dbix-inflect-err.tar.gz |
Message body not shown because it is not plain text.