Skip to content

Commit aff5bbf

Browse files
committed
revise message again
1 parent 45b94ca commit aff5bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongoid/fields/validators/macro.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def validate_options(klass, name, options)
116116
if option == :type && options[option] == Symbol
117117
@field_type_is_symbol_warned ||= begin
118118
Mongoid::Deprecation.warn(<<~MSG.squish.freeze)
119-
The BSON Symbol type is deprecated. Please use String or StringifiedSymbol instead
119+
The BSON Symbol type is deprecated by MongoDB. Please use String or StringifiedSymbol field types instead of the Symbol field type
120120
MSG
121121
true
122122
end

0 commit comments

Comments
 (0)