DbCharmer is a simple yet powerful plugin for ActiveRecord that does a few things:
- Allows you to easily manage AR models’ connections (
switch_connection_to
method) - Allows you to switch AR models’ default connections to a separate servers/databases
- Allows you to easily choose where your query should go (
on_*
methods family) - Allows you to automatically send read queries to your slaves while masters would handle all the updates.
- Adds multiple databases migrations to ActiveRecord
No comments:
Post a Comment