README.md in tako-0.3.1 vs README.md in tako-0.3.2
- old
+ new
@@ -3,11 +3,11 @@
Tako provides Database-Sharding features for ActiveRecord.
Respecting [Octopus](https://github.com/thiagopradi/octopus)
# Motivation
-The main goal of Tako is implementing sharding features with less ActiveRecord-dependent; catching up Rails version up.
+The main goal of Tako is implementing sharding features with less ActiveRecord-dependent; catching up Rails version up.
And also, Tako supports migration from Octopus because it is no longer maintained.
## Installation
@@ -31,11 +31,11 @@
$ bundle exec rake db:tako:create
$ bundle exec rake db:tako:migrate
## Usage
## How to use Tako?
-First, you need to create a config file, `shards.yml`, inside your config/ directory.
+First, you need to create a [config file](https://github.com/the40san/tako/wiki/Config), `shards.yml`, inside your config/ directory.
Also you can override config file path with environment variable.
### Syntax
Tako adds a method to each AR Class and object: the shard method is used to select the shard like this:
@@ -103,9 +103,10 @@
```
## TODO
* Make more independent of ActiveRecord implementation.
+ * Use `prepend` instead of alias_method chain when other gem could handle that.
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.