razorfish, on 22 July 2012 - 10:09 AM, said:
When I delete an Author that has some Books, those books are deleted too.
How is this possible since actionDelete on Author model doesn't have any piece of code related with the deletion of his books?
When you delete something in the system, how the related things are handled is done at the database level. So, take a look at the foreign key relations/constraints for the tables.

Help












