Rails Delete Child on Parent Delete
class Widgets < ActiveRecord::Base
has_many :whatevers, :dependent => :destroy
end
Loriel Desamito
class Widgets < ActiveRecord::Base
has_many :whatevers, :dependent => :destroy
end