Hi! I've created a simple `datasource`: // app/Model/Datasource/FeedSource.php
App::uses('DataSource', 'Model/Datasource'); class FeedSource extends DataSource { public function abcd() { echo 'Hello World!'; } } in my 'database.php': public $feed = array( 'datasource' => 'FeedSource' ); And in `Feeda` model: App::uses('AppModel', 'Model'); class Feeda extends AppModel { public $useTable = false; public $useDbConfig = 'feed'; } in 'list' controller: $this->loadModel('Feeda'); $this->Feeda->abcd(); But, it returns a fatal error: Error: Call to undefined method FeedSource::query() How to resolve it? Thanks... -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.