Re: CURRENT_TIMESTAMP being quoted in the "created" field when INSERT ing

2009-01-17 Thread Leandro Lucarella
On Jan 16, 6:20 pm, Leandro Lucarella wrote: > PS: I'm using 1.2.0.7962 final. If it's of any help, I've upgraded to 1.2.1.8004 and the problem remains... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

CURRENT_TIMESTAMP being quoted in the "created" field when INSERT ing

2009-01-16 Thread Leandro Lucarella
Hello. I'm starting a simple application using CakePHP 1.2 and it greatly improve my experience over 1.1, congratulations! But (of course, there is always a "but" =), I'm having some troubles with a "created" and "modified" fields that I expect CakePHP to fill automatically. Using "var $scaffold;

generateFieldNames/Scaffolding for ENUM/MySQL broken in 1.1.14.

2007-04-23 Thread Leandro Lucarella
x27;))) { return $col; I hope there is any CakePHP developer here. It really breaks some things (like scaffolding). PS: please, Please, PLEASE! Consider opening the trac ticket reporting for any trac user. -- LUCA - Leandro Lucarella - Usando Debian GNU/Linux Sid -

Saving relations in a transaction (was: Saving empty fields to the DB.)

2007-04-23 Thread Leandro Lucarella
Leandro Lucarella, el 20 de abril a las 23:58 me escribiste: > > GreyCells, el 20 de abril a las 15:25 me escribiste: > > > > $this->Person->set('name', null); before saving. > > 2 comments: > 1) The table is really much bigger than a single "n

Re: Saving empty fields to the DB.

2007-04-20 Thread Leandro Lucarella
t;Person->set('name', null), but my wild guess it that it is). It's really no way to save an associative array "as-is" into the DB? -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ .--

Saving empty fields to the DB.

2007-04-20 Thread Leandro Lucarella
ield in the DB stills say 'Peter'. It looks like save() ignores the empty fields. Is there a way to avoid this? I want the name to be empty. I'm doing something wrong? CakePHP 1.1.x ($Id: VERSION.txt 4450 2007-02-05 05

Re: Using Cake model in a non-cake site.

2007-04-15 Thread Leandro Lucarella
Olwen Williams, el 16 de abril a las 14:42 me escribiste: > > What if you had an HTML server side include that included a bare cake view? Can you explain that a little more? I don't understand what you mean. Thank you. -- Leandro Lucarella (luca) | Blog cole

Using Cake model in a non-cake site.

2007-04-15 Thread Leandro Lucarella
Hi! I'm having some problems integrating a Cake apllication that acts as an "administration panel" and cuasi-static site. This site is done by a web designer in plain HTML and I have to add a little logic to that, making some queries to the DB (the DB from the "administration panel"). The thing i