generally
define('AK_LOG_EVENTS', true);
in config/config.php.
It's in log/development.log
and you can show it in your terminal using
tail -f log/development.log
But maybe you want to see the SQL statements and errors in your page? You can switch on the debugging for a model by putting
$this->MODELNAME->dbug();
in your action in your controller
VBharathi, you can have a look at Editam's code and into the Akelos Unit tests, and then Akelos API. On the forums we might also guide you on getting started with Akelos . It would be also nice if you could help other beginners documenting your discoveries in the wiki
Regarding the development logs, it's pretty strange you don't get them. Are you sure you are not on production environment?
Did you load the comment model in the post controller?
like:
class PostController extends ApplicationController
{
var $models = array('post','comment');
I watched the screencast again (good refresher, I was forgotten you could pass collections to partials)
And you're right: it isn't mentioned in the screencast. But the code is there.
See in the show function around minute 16 in the screencast:
$post = $this->post->find($this->params['id'] , array( 'include' => 'comment') );
so the associated comments are loaded.
Another way to do it would be:
$post = $this->post->find($this->params['id']);
$post->comment->load();
try using the full path, script\setup -d c:\proj\ake\bharathi --force
1 to 22 of 22