Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

donsteffenski's Profile

GitHub User: donsteffenski

Comments by

Avatar

figured it out with

:dependent => :destroy

Avatar

Thanks for this brilliant tutorial! I am new to rails and this one made a few pennies drop.

How can I achieve that destroying a question automatically destroys all associated answers records in the database?