lib/mongoid/association/relatable.rb
# The name of the foreign key setter method.
#
# @return [ String ] The name of the foreign key setter.
#
# @since 7.0
The name of the foreign key setter method.
The name of the foreign key setter method .
def foreign_key_setter
        @foreign_key_setter ||= "#{foreign_key}=" if foreign_key
      end
def foreign_key_setter @foreign_key_setter ||= "#{foreign_key}=" if foreign_key end
The name of the foreign key setter method.
The name of the foreign key setter method .
# note: You can't check if this association stores foreign key # See HasOne and HasMany binding, they referenced foreign_key_setter
The name of the foreign key setter.
The name of the foreign key setter .
 String 
since
None