that is how results from inserts are formatted, id will be added to the
array of data after the save


2013/9/4 Marc Würth <notifications@github.com>

> In en/models/callback-methods.rst:
>
> > +		
> > +    // Produces the following output
> > +		
> > +    Array
> > +    (
> > +        [User] => Array
> > +            (
> > +                [verified] => 1
> > +                [email] => someone@somewhere.com
> > +                [password] => $2a$10$Z/AFjhC2MXVTeRl7WhIcVuztuJt3ALEo3N9l2QtCgtbe4x52Qld3i
> > +                [name] => First Last
> > +                [role_id] => 1
> > +                [last_login] =>
> > +                [modified] => 2013-09-04 15:38:50
> > +                [created] => 2013-09-04 15:38:50
> > +                [id] => 2
>
> You have id as last column in your db?
> CakePHP doesn't dictate it, but normally it's the first one...
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cakephp/docs/pull/751/files#r6164988>
> .
>