From d8655929f506d5e1eb22c1ac51935e22a059f50f Mon Sep 17 00:00:00 2001 From: Tyler Brock Date: Mon, 23 Jan 2012 13:27:44 -0500 Subject: [PATCH] documentation updates to replace depricated options with current ones --- lib/mongo/repl_set_connection.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mongo/repl_set_connection.rb b/lib/mongo/repl_set_connection.rb index c90396f..085d34b 100644 --- a/lib/mongo/repl_set_connection.rb +++ b/lib/mongo/repl_set_connection.rb @@ -70,10 +70,10 @@ module Mongo # ReplSetConnection.new(['localhost', 30000], ['localhost', 30001]) # # @example Connect to a replica set providing two seed nodes and ensuring a connection to the replica set named 'prod': - # ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :rs_name => 'prod') + # ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :name => 'prod') # # @example Connect to a replica set providing two seed nodes and allowing reads from a secondary node: - # ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :read_secondary => true) + # ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :read => :secondary) # # @see http://api.mongodb.org/ruby/current/file.REPLICA_SETS.html Replica sets in Ruby #