when having integer ids e.g.
class Segment include Mongoid::Document field :_id, :type => Integer end
it should be possible to do:
Segment.where(id: 3..14).count #and Segment.find( 3..5 )
currently that gives a
BSON::InvalidDocument: Cannot serialize an object of class Range (type 9) into BSON.