Hello.
As the title suggests, i was creating a model but i had problems as i had a column (in the database) name login_date
and at the columnMap()
function it was being renamed to loginDate
.
And on initialize()
function it executed $this->skipAttributes(array("loginDate"));
and it was not working but when i changed to $this->skipAttributes(array("login_date"));
it worked.
Well, is this a bug or feature ? As everywhere else, when working with Phalcon Models, it uses the renamed column, not the original...