Sunday, July 5, 2009

Re: Problems w/ Commentia Behavior

Certainly. My tables is just called comments. Here is my Comment
Model:

<?php

class Comment extends AppModel {

var $name = 'Comment';
var $actsAs = array('Commentia');

}

?>

My table structure looks almost identical to the one on your blog but
I did add some extra fields (IP address, model).

On Jul 5, 5:34 am, Miles J <mileswjohn...@gmail.com> wrote:
> May I see your $actsAs?
>
> And what are the names of your comments table and the model you are
> attaching this to.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: