Closed pgr0ss closed 12 years ago
The riak-client gem specifically requires host and port to be symbols:
VALID_OPTIONS = [:protocol, :nodes, :client_id, :http_backend, :protobuffs_backend] | Node::VALID_OPTIONS
unless (evil = options.keys - VALID_OPTIONS).empty?
raise ArgumentError, "#{evil.inspect} are not valid options for Client.new"
end
riak-client needs symbols, but we can use with_indifferent_access on the config to make it work.