Skip to content

Commit 5528186

Browse files
committed
Preserve ordering
1 parent 9647e35 commit 5528186

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/mongoid/fields.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ module Mongoid
1212
module Fields
1313
extend ActiveSupport::Concern
1414

15-
# @deprecated Use Mongoid::Fields::FieldTypes.mapping instead
16-
TYPE_MAPPINGS = ::Mongoid::Fields::FieldTypes::DEFAULT_MAPPING
17-
1815
StringifiedSymbol = Mongoid::StringifiedSymbol
1916
Boolean = Mongoid::Boolean
2017

18+
# @deprecated Use Mongoid::Fields::FieldTypes.mapping instead
19+
TYPE_MAPPINGS = ::Mongoid::Fields::FieldTypes::DEFAULT_MAPPING
20+
2121
# Constant for all names of the _id field in a document.
2222
#
2323
# This does not include aliases of _id field.

0 commit comments

Comments
 (0)