I know this is probably on the Internet somewhere but I can\'t find the answer here on Stackoverflow so I thought I may boost up the knowledge base here a little.
you can also set the :dependent option to :delete_all. :delete_all will issue a single SQL statement to delete all child records. because of this using :delete_all may give you better performance.