lib/mongoid/association/relatable.rb
# Whether the associated object(s) should be validated.
#
# @return [ true, false ] If the associated object(s)
#   should be validated.
#
# @since 7.0
Whether the associated object(s) should be validated.
Whether the associated object ( s ) should be validated .
def validate?
        @validate ||= if @options[:validate].nil?
                        validation_default
                      else
                        !!@options[:validate]
                      end
      end
def validate? @validate ||= if @options [ :validate ] . nil? validation_default else ! ! @options [ :validate ] end end
Whether the associated object(s) should be validated.
Whether the associated object ( s ) should be validated .
If the associated object(s) should be validated.
If the associated object ( s ) should be validated .
 true, false 
since
None