[Catalyst] $c->model('table') vs MyApp::Model::table
    apv 
    apv at sedition.com
       
    Sat Jan 14 09:51:55 CET 2006
    
    
  
On Saturday, January 14, 2006, at 12:15  AM, Matt S Trout wrote:
> Have a look at the app startup output (loaded components). If that 
> doesn't
> help, Dumper the $c->components hashref and see what you've got.
>
It's in there and seems right. Sigh.
This is the Sweet-based one that's not behaving as expected:
           'Ego::Model::post' => bless( {}, 'Ego::Model::post' ),
           'Ego::Model::DB' => 'Ego::Model::DB',
And this is a DBIC-based one which is working through the ->model()
           'Pangyre::Model::chapter' => bless( {}, 
'Pangyre::Model::chapter' ),
           'Pangyre::Model::DBIC' => 'Pangyre::Model::DBIC',
    
    
More information about the Catalyst
mailing list