spec/app/models/series.rb in mongoid-7.1.5 vs spec/app/models/series.rb in mongoid-7.1.6
- old
+ new
@@ -1,7 +1,8 @@
# frozen_string_literal: true
# encoding: utf-8
class Series
include Mongoid::Document
+ # Must not have dependent: :destroy
has_many :books
end