… _id. to_param returns the string version of the id so urls work correctly.
…as the const missing/get stuff was slow in combo with rails.
…ake MM work with their old string ids.
…id. Added tests for assigning id that is of type object id.
…d key to String or whatever. class Foo include MongoMapper::Document key :_id, String end foo = Foo.create(:id => '1234') foo.id # '1234'
…ut allow you to change it.
… without having to type out modules. Added ObjectId which is shorter to use than Mongo::ObjectID.
…some failing tests for custom ids which are next.
…here and minor changes to document save and save!