Sign in through GitHub

RailsCasts Pro episodes are now free!

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?