Permalink
Browse files

Add note about string IDs

  • Loading branch information...
1 parent c4496e2 commit 4cb33d07e2740db0914015332ff222dfb4eb4af0 @bkeepers bkeepers committed May 11, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 UPGRADES
View
@@ -1,3 +1,7 @@
+0.9 => 1.0
+ * Using String IDs are no longer supported. If you are declaring your own ID, ensure it is an ObjectId, and set the default
+ key :_id, ObjectId, :default => lambda { BSON::ObjectId.new }
+
0.8.6 => 0.9
* [attribute]_before_typecast should become [attribute]_before_type_cast (note the extra _)
* Change validates_exclusion_of :within option to :in

0 comments on commit 4cb33d0

Please sign in to comment.