You could use unset in the controller, or if you have to do it often I 
would highly recommend using beforeSave in your model and doing a little 
logic and then potentially unsetting what ever variable 
unset($this->request->data['User']['something']);

On Wednesday, March 14, 2012 10:15:30 AM UTC-7, Daniel wrote:
>
> How do I remove a field from $this->request->data so that it is not 
> saved / touched on the database when doing a $this->User->save($this- 
> >request->data) ? 
>
> Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to