Package: libclass-dbi-loader-relationship-perl Version: 1.2-2 Severity: normal File: /usr/share/perl5/Class/DBI/Loader/Relationship.pm
Hi, There seems to be a problem when setting up has_a / has_many relationships with classes involved that contain CamelCase and the database table has an underscore (camel_case). When the has_many is called before the has_a, cascading deletes won't work. Swapping the order of the two code lines solves the problem for me. Seems like it needs the has_a first to know what column is pointing back. I swapped lines 98 and 97. Thanks, Joachim -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12.otto Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages libclass-dbi-loader-relationship-perl depends on: ii libclass-dbi-loader-perl 0.22-1 Dynamic definition of Class::DBI s ii liblingua-en-inflect-number-p 1.1-2 Force number of words to singular ii perl 5.8.7-5 Larry Wall's Practical Extraction libclass-dbi-loader-relationship-perl recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]