Make sure you use the form helper. I would guess if you inspect the html you will see that your new field's name doesn't match the other fields.
On Sat, Jan 2, 2010 at 9:58 AM, Jeremy Burns <[email protected]> wrote: > The first place to start is by setting the debug level. In app/config/ > core.php find the line that looks like this: > > Configure::write('debug', 2); > > ...and ensure the number is 1 or higher (2 is good). Then visit your > view again. When the debug level is 1 or higher, Cake refreshes its > model cache. It will read all of your tables again so it knows what > columns exist. This ought to then pull in your new column. When the > debug level is 2 you'll see a table at the foot of the page that shows > all of the queries that Cake runs. This is very useful stuff while > developing, but obviously unfriendly win production. In production > mode, set debug to 0. > > You might also need to change your validation in the model related to > your new table, and perhaps the associations in $hasMany/$belongsTo, > if appropriate. > > On Jan 2, 7:21 am, Robin Thomas <[email protected]> wrote: > > I created a table and baked it. Everything was working fine. > > > > After that I added one more column to the table. and modified > > the .ctp file(for add) to include the new column. > > > > But when I save a new entry , the new column is not getting saved. > > > > How can I add a column to the table after it is baked without baking > > it again.? > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
