spec/support/models/language.rb in mongoid-8.1.7 vs spec/support/models/language.rb in mongoid-9.0.0
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+# rubocop:todo all
class Language
include Mongoid::Document
field :name, type: String
embedded_in :translatable, polymorphic: true