Posting ignore data


I add fields to a table, when posting leaves them as nulls,the controller

the new fields are tcasa,tcelular,afore
The template

  echo $this->Form->input('internal_retirement.tcasa');
  echo $this->Form->input('internal_retirement.tcelular');
  echo $this->Form->input('internal_retirement.afore');


You’ve added new fields to a pre-existing table? Did you clear your cache after doing that?


Yes,the fields are added on the table,how i clear the cache?


The model cache is somewhere under the tmp folder, but details vary depending on specifically what version of Cake you’re using.