Silly mistake-
check spelling of dependent in has many.
On Sat, Jan 12, 2013 at 9:58 AM, amit.sukapur...@gmail.com wrote:
Hello Everyone,
I need to delete associated records.
I have tried but can't figure it out.
Here is my situation,
Database,
questions {id(pk), question, answer}
Oh Yes !!
Thanks a lot.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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
Hello Everyone,
I need to delete associated records.
I have tried but can't figure it out.
Here is my situation,
Database,
questions {id(pk), question, answer}
options {id(pk), question_id, option_value}
Models,
Question
..
public $hasMany = array( 'Option' = array('dependant' =