spec/app/models/even.rb in mongoid-7.0.13 vs spec/app/models/even.rb in mongoid-7.1.0.rc0
- old
+ new
@@ -1,4 +1,7 @@
+# frozen_string_literal: true
+# encoding: utf-8
+
class Even
include Mongoid::Document
field :name
belongs_to :parent, class_name: 'Odd', inverse_of: :evens