ご挨拶、
私は現在、複数のデータベース Rails アプリケーションに取り組んでいます。
一部のデータベースまたは特定のモデルについてのみ、SELECT クエリをスレーブ データベースにオフロードしたいと考えています。
問題は、場所によっては、現在のデータベース接続をスワップ アウトし、短時間別の接続に切り替えることです。フィクスチャをロードするか、シャーディングを処理します。
ルビーの宝石に関する推奨事項はありますか?
1. will split select/(sql writes) with a considerable amount of control.
We want to handle just some models and we are looking for a neat surgical fix.
2. does not monkey around with activerecord.
3. is still being maintained.
ティア
-ダニエル