README in acts_as_readonlyable-0.0.4 vs README in acts_as_readonlyable-0.0.5
- old
+ new
@@ -38,10 +38,10 @@
read_only:
database: slave_db
host: slave-host
-Note: There is no need for more than one read-only database configuration in your database.yml since you can leverage traditional load balancing solutions for slaves.
+Note: There is no need for more than one read-only database configuration in your database.yml since you can leverage traditional load balancing solutions for slaves. If you still want to use database.yml to spread the load, define multiple entries there and use acts_as_readonlyable [:first_read_only, :second_read_only]
=== Sample Model
class Fruit < ActiveRecord::Base
acts_as_readonlyable :read_only