Hi Guys,

I am creating an application that hold user names / passwords and
settings.

So I have 2 tables in a DB, users and settings

They have a hasOne relationship.

I have come up to a little problem, When a new user is created i want
to have a row in the settings table created too. is this possible
through cake? or do I have to code a new class for it? I have enabled
the dependant in the model so if the user is deleted the associate
settings row gets removed, is there a setting that does the opposite
so when a user is created it creates a blank settings row?

Hope someone can help.

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

Reply via email to