sdsykes/read_from_slave — Issue #5: Documentation for specifying slaves in the .yml is wrong.
Author: kevintyll
Created: 2011-10-28 16:42:15+00:00
State: open

The readme says to specify the slaves as a string:

slaves:
primary_slave: slave_for_reads
slave_2: slave_for_reporting

but the code is looking for a symbol so it doesn't use the slave:

def primary_slave_name
:primary_slave
end

The documentation should be changed to reflect this.

slaves:
:primary_slave: slave_for_reads
:slave_2: slave_for_reporting