Pierre
0
Q:

should destroy child reviews when destroying self active record

class Parent < ActiveRecord::Base
  has_many :children, dependent: :destroy
end
0

New to Communities?

Join the community