You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/mongoid/warnings.rb
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ def warning(id, message)
25
25
warning:as_json_compact_deprecated,'#as_json :compact option is deprecated. Please call #compact on the returned Hash object instead.'
26
26
warning:symbol_type_deprecated,'The BSON Symbol type is deprecated by MongoDB. Please use String or StringifiedSymbol field types instead of the Symbol field type.'
27
27
warning:legacy_readonly,'The readonly! method will only mark the document readonly when the legacy_readonly feature flag is switched off.'
28
+
warning:use_activesupport_time_zone_deprecated,'Config option :use_activesupport_time_zone is deprecated and should be removed from your config. It will be always true beginning in Mongoid 9.0.'
28
29
warning:mutable_ids,'In Mongoid 9.0 the _id field will be immutable. In earlier versions of 8.x, mutating the _id field was supported inconsistently. Prepare your code for 9.0 by setting Mongoid::Config.immutable_ids to true.'
0 commit comments