spec/app/models/dog.rb in mongoid-7.0.13 vs spec/app/models/dog.rb in mongoid-7.1.0.rc0

- old
+ new

@@ -1,4 +1,7 @@ +# frozen_string_literal: true +# encoding: utf-8 + class Dog include Mongoid::Document field :name, type: String has_and_belongs_to_many :breeds has_and_belongs_to_many :fire_hydrants, primary_key: :location