I'm using InnoDB to allow data associations. Do I have to note this
fact in my database.php?

Other than that, I'm at a loss as to why this problem is occurring.

My practice_items table:
int - id
varchar(255) - name
text - description

/app/controllers/practice_items_controller.php:
http://pastebin.com/K3uu38fw

/app/views/practice_items/add.ctp:
http://pastebin.com/dfxrnhhT

the pr() statement successfully puts out the data I post through the
form when using the add() method. I get this as a result of pr():

Array
(
    [practice_items] => Array
        (
            [name] => Test
            [description] => Test
        )

)

As I understand it, since id is auto-increment, I shouldn't need to
explicitly pass that through the form. Cake gives me every indication
that the save method worked, so I'm at a loss as to why the data isn't
showing up in my practice_items table. I would think at the very least
that cake would spit back a MySQL error if something were wrong.

Here's my controller dump:
http://pastebin.com/KHiZt8J8

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to