CONFIG_TEMPLATE |
= |
<<EOF RR::Initializer::run do |config| config.left = { :adapter => 'postgresql', # or 'mysql' :database => 'SCOTT', :username => 'scott', :password => 'tiger', :host => '172.16.1.1' } config.right = { :adapter => 'postgresql', :database => 'SCOTT', :username => 'scott', :password => 'tiger', :host => '172.16.1.2' } config.include_tables 'dept' config.include_tables /^e/ # regexp matching all tables starting with e # config.include_tables /./ # regexp matching all tables in the database end EOF |