README.rdoc in data_fabric-1.2.4 vs README.rdoc in data_fabric-1.2.5
- old
+ new
@@ -13,10 +13,17 @@
== Installation
gem install data_fabric
+then in config/environment.rb, add a config.gem entry:
+
+ Rails::Initializer.run do |config|
+ ...
+ config.gem 'data_fabric'
+
+
== How does it work?
You describe the topology for your database infrastructure in your model(s).
Different models can use different topologies.
@@ -61,9 +68,10 @@
== Warnings
* Sharded models should never be placed in the session store or you will get "Shard not set" errors when the session is persisted.
* DataFabric does not support running with ActiveRecord's allow_concurrency = true in AR 2.0 and 2.1. allow_concurrency is gone in AR 2.2.
+* DataFabric does not work in development mode with cache_classes = false. You will get an error in ActiveRecord's clear_reloadable_connections! method.
== Testing and Bug Reports
If you think you've found a problem with data_fabric, please use the example application to reproduce the bug and send me the diff. The example application is a stock Rails 2.1 application which uses data_fabric in the expected fashion.