You do not have to do anything in case there is no B. CakePHP will not
enforce that there is an B for every A as long as you do not enforce that in
your validation rules or eventually in your database.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check o
Hello, I have a doubt about the belongsTo relation between A and B. If
I make a belongsTo relation, it's mandatory that all the A entities
refers to B entities?
In my case, there are cases where the reference exists, and in other
many cases, the reference don't exists. Should I to create a "null"