README.rdoc in data_fabric-1.2.7 vs README.rdoc in data_fabric-1.3.0
- old
+ new
@@ -19,11 +19,16 @@
Rails::Initializer.run do |config|
...
config.gem 'data_fabric'
+or add data_fabric to your Gemfile:
+ gem 'data_fabric'
+
+data_fabric has been tested with Rails 2.3.10, 3.0.0 and 3.0.3.
+
== How does it work?
You describe the topology for your database infrastructure in your model(s).
Different models can use different topologies.
@@ -67,37 +72,33 @@
== 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.
+If you think you've found a problem with data_fabric, please use the example23 or example30 application to reproduce the bug and send me the diff.
== Thanks to...
Rick Olsen of Rails Core:: for the Masochism plugin, which showed me how to bend AR's connection handling to my will
Bradley Taylor of RailsMachine:: for the advice to shard while at acts_as_conference
-FiveRuns:: for paying me to develop this code and allowing its release
== Author
Mike Perham <mperham@gmail.com>
http://mikeperham.com
http://twitter.com/mperham
== LICENSE:
-
-(The FiveRuns License)
-
-Copyright (c) 2008 FiveRuns Corporation
-
+
+Copyright (c) 2010 Mike Perham
+
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to