Sha256: 516949ce47a075817d530699c20a7444bffd8a157e35669ed149c02deb22cafc
Contents?: true
Size: 411 Bytes
Versions: 9
Compression:
Stored size: 411 Bytes
Contents
# encoding: utf-8 module Mongoid module Relations module Options def validate_with_custom_fields!(options) _options = options.dup _options.delete(:custom_fields_parent_klass) validate_without_custom_fields!(_options) end alias_method :validate_without_custom_fields!, :validate! alias_method :validate!, :validate_with_custom_fields! end end end
Version data entries
9 entries across 9 versions & 1 rubygems