That change is done when instantiating your Database object.
You provide a servers option hash with a read_only key. The read_only value is merged with the default options.
In this example, the master database is on the host named master and the slave database is on the host named slave.
This example supports a single slave, but Sequel supports multiple slaves and even multiple masters just as easily.