Permalink
Browse files

Connect to master doesn't reauthenticate on our behalf

  • Loading branch information...
1 parent 8ec8ca4 commit dafd5f46b16cd43dacdb33d050f3854c7b87dfd2 @zbelzer zbelzer committed with bkeepers Mar 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/delayed/backend/mongo_mapper.rb
@@ -43,7 +43,7 @@ def self.before_fork
end
def self.after_fork
- ::MongoMapper.connection.connect_to_master
+ ::MongoMapper.connect(RAILS_ENV)
end
def self.db_time_now

0 comments on commit dafd5f4

Please sign in to comment.