lib/helpers/collection_helper.rb in mongo3-0.1.2 vs lib/helpers/collection_helper.rb in mongo3-0.1.3

- old
+ new

@@ -70,10 +70,11 @@ buff.join( ":" ) end # converts orientation to human def orientation( value ) - return "id" if value.is_a?(Mongo::ObjectID) +puts "VALUE #{value.inspect}" + return "id" if value.is_a?(Hash) case( value.to_i ) when Mongo::ASCENDING "asc" when Mongo::DESCENDING "desc" \ No newline at end of file