From 2200d53326aa0d5df32fe453c3c8b61b67094a9a Mon Sep 17 00:00:00 2001 From: Marcin Ciunelis Date: Thu, 9 Aug 2012 20:07:25 +0200 Subject: [PATCH] enabled identity map --- config/mongoid.example.yml | 1 + config/mongoid.mongohq.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/mongoid.example.yml b/config/mongoid.example.yml index 67496d6..f85c755 100644 --- a/config/mongoid.example.yml +++ b/config/mongoid.example.yml @@ -9,6 +9,7 @@ defaults: &defaults host: localhost + identity_map_enabled: true # slaves: # - host: slave1.local # port: 27018 diff --git a/config/mongoid.mongohq.yml b/config/mongoid.mongohq.yml index 381ff40..c3a38cb 100644 --- a/config/mongoid.mongohq.yml +++ b/config/mongoid.mongohq.yml @@ -5,4 +5,5 @@ # commit it to your repo, then push to heroku. production: - uri: <%= ENV['MONGOHQ_URL'] %> \ No newline at end of file + uri: <%= ENV['MONGOHQ_URL'] %> + identity_map_enabled: true -- libgit2 0.21.2