[jifty-devel] bug or what ?

Thomas Sibley trs at bestpractical.com
Thu Mar 15 01:09:39 EDT 2007


mraptor wrote:
> Yes, interesting that works !! Why ?

You said that the model was named "CC" (not "Cc").  Model names (because 
they translate to Perl packages) are generally case sensitive.

> On Wed, 14 Mar 2007 09:07:51 +0000
> "Edmund von der Burg" <evdb at ecclestoad.co.uk> wrote:
> 
>> On 14/03/07, mraptor <mraptor at gmail.com> wrote:
>>> I have model named "CC" (i.e. table "ccs")
>>> It seems that when I have to use collection something goes wrong
>>> i.e. I get the following error :
>>>
>>> Can't locate object method "new" via package
>>> "My::Model::CcCollection" (perhaps you forgot to load
>>> "My::Model::CcCollection"?)
>> Have you tried My::Model::CCCollection (note 'CC' not 'Cc')?
>>
>> Cheers,
>>   Edmund.
> 




More information about the jifty-devel mailing list