dont use read(), use find(first)
read() does too many thinks people are not aware of and possibly messing 
things up in the long run


Am Dienstag, 11. Juni 2013 05:52:04 UTC+2 schrieb Reuben:
>
> Hi
>
> I've put a new field on a table, and it's not being read as a part of a 
> read(null, $id) operation.
>
> I have made sure I have delete the cache, and I can definitely see that 
> the new field is there.
>
> Additionally, if I do a read(array('id', 'notify_email'), $id), the new 
> field (which is notify_email), is present, just not when I do a read(null, 
> $id).
>
> Regards
> Reuben Helms
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to