Skip to content

Commit 2c8c4e9

Browse files
committed
minor: tutorial, history, documentation updates
1 parent 9eab7ad commit 2c8c4e9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

source/HISTORY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# MongoDB Ruby Driver History
22

3+
### 1.6.4
4+
2012-06-06
5+
6+
* Added ability to declare sort ordering via an ordered hash
7+
* Addresses major compatability issue with mongoid created by v1.6.3
8+
39
### 1.6.3
410
2012-06-05
511

source/TUTORIAL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Direction defaults to ascending order but can be specified as Mongo::ASCENDING,
180180
coll.find.sort(:i)
181181

182182
# Sort in descending order by :i
183-
coll.find.sort([:i, :desc])
183+
coll.find.sort(:i => :desc)
184184

185185
#### Counting Documents in a Collection
186186

0 commit comments

Comments
 (0)