Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cfp:~/git/bs > ./script/runner ' User; MongoMapper.ensure_indexes!; p User.create(:email => "ara.t.howard@gmail.com"); p User.count; '
- #<User updated_at: Tue, 19 Jan 2010 19:42:45 UTC +00:00, session: {}, _id: 4b560b35a047451e13000001, created_at: Tue, 19 Jan 2010 19:42:45 UTC +00:00, email: "ara.t.howard@gmail.com">
- 13
- cfp:~/git/bs > ./script/runner ' User; MongoMapper.ensure_indexes!; p User.create(:email => "ara.t.howard@gmail.com"); p User.count; '
- #<User updated_at: Tue, 19 Jan 2010 19:42:49 UTC +00:00, session: {}, _id: 4b560b39a047451e15000001, created_at: Tue, 19 Jan 2010 19:42:49 UTC +00:00, email: "ara.t.howard@gmail.com">
- 14
- cfp:~/git/bs > ./script/runner ' p User.collection.index_information '
- {"_id_"=>[["_id", 000000000000000000000000]]}
Add Comment
Please, Sign In to add comment