nicholaspufal/Alternativa-TCC — Issue #4: Delete models atrelados ñ funciona
Author: nicholaspufal
Created: 2011-11-03 11:16:57+00:00
State: open

class Exam < ActiveRecord::Base
has_many :questions, :dependent => :destroy
....

Dependent nao funciona.

Ao usar o verbo DELETE ou UPDATE, as questoes atreladas nao sao removidas.