spec/support/models/child.rb in mongoid-8.1.7 vs spec/support/models/child.rb in mongoid-9.0.0
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+# rubocop:todo all
class Child
include Mongoid::Document
embedded_in :parent, inverse_of: :childable, polymorphic: true
end