lib/mongoid/association/referenced/has_many/binding.rb in mongoid-7.0.13 vs lib/mongoid/association/referenced/has_many/binding.rb in mongoid-7.1.0.rc0

- old
+ new

@@ -1,15 +1,17 @@ +# frozen_string_literal: true # encoding: utf-8 + module Mongoid module Association module Referenced class HasMany # Binding class for has_many associations. class Binding include Bindable - # Binds a single document with the inverse relation. Used + # Binds a single document with the inverse association. Used # specifically when appending to the proxy. # # @example Bind one document. # person.posts.bind_one(post) #