lib/mongoid/criteria/queryable/selector.rb
# Get the store name and store value. If the value is of type range,
# we need may need to change the store_name as well as the store_value,
# therefore, we cannot just use the evole method.
#
# @param [ String ] name The name of the field.
# @param [ Object ] serializer The optional serializer for the field.
# @param [ Object ] value The value to serialize.
#
# @return [ Array<String, String> ] The store name and store value.
Get the store name and store value. If the value is of type range,
we need may need to change the store_name as well as the store_value,
therefore, we cannot just use the evole method.
Get the store name and store value . If the value is of type range we need may need to change the store_name as well as the store_value therefore we cannot just use the evole method .
def store_creds(name, serializer, value)
          store_name = localized_key(name, serializer)
          if Range === value
            evolve_range(store_name, serializer, value)
          else
            [ store_name, evolve(serializer, value) ]
          end
        end
def store_creds ( name , serializer , value ) store_name = localized_key ( name , serializer ) if Range === value evolve_range ( store_name , serializer , value ) else [ store_name , evolve ( serializer , value ) ] end end
Get the store name and store value.
Get the store name and store value .
The store name and store value.
The store name and store value .
 Array<String, String> 
name
<not_specific>
serializer
<not_specific>
value
<not_specific>
<not_specific>
value The value to serialize.
value The value to serialize .