Add a :dependent option with method :delete_all to Project and Article models