参考になった。Railsでデータベースのレプリケーションをしたいとき – PILOG database Twitter Facebook はてブ Pocket LINE コピー 2016.03.12 xoyip.hatenablog.com