spec/app/models/bar.rb in mongoid-7.0.13 vs spec/app/models/bar.rb in mongoid-7.1.0.rc0
- old
+ new
@@ -1,4 +1,7 @@
+# frozen_string_literal: true
+# encoding: utf-8
+
class Bar
include Mongoid::Document
include Mongoid::Attributes::Dynamic
field :name, type: String
field :location, type: Array