Sha256: dd626f658476468e6be3bfc9534bc1e6ef590b348248fa872026e3a0fa7751ef
Contents?: true
Size: 371 Bytes
Versions: 5
Compression:
Stored size: 371 Bytes
Contents
require "mongoid/fields/validators/macro" require "semantic_logger" module RocketJob module RemoveMongoidWarnings # Remove annoying warnings about Symbols type being deprecated. def validate_options(*params) SemanticLogger.silence(:error) { super(*params) } end end end ::Mongoid::Fields::Validators::Macro.extend(RocketJob::RemoveMongoidWarnings)
Version data entries
5 entries across 5 versions & 1 rubygems