They are supposed to be auto. Mine are. I'm using the latest 1.2
version (not svn).
are you 100% sure that the fields are spelled properly? are they set
to 'DATETIME'?
Regards
[EMAIL PROTECTED] wrote:
> After cake baking I get code like:
>
> function add() {
> if(!empty($this->data)) {
> if ($this->User->create($this->data) &&
> $this->User->validates()) {
> $this->cleanUpFields();
> $this->User->create();
> if($this->User->save($this->data)) {
> ....
>
> But when I browse in my MySQL I see:
> created: 0000-00-00 00:00
> modified: same
> ...
> Why? In 1.1 - this fields was fill automatic. How to fill this fields
> auto in CakePHP 1.2?
> Help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---