Permalink
Browse files

Fix couple of README things.

  • Loading branch information...
1 parent b54a6b6 commit e6369c49f20998c60487df6278f34fd5894ab9f1 Alexander Staubo committed May 18, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.markdown
View
@@ -21,7 +21,7 @@ Comparison to other ActiveRecord extensions
===========================================
Unlike other, more full-featured extensions such as Octopus and Seamless Database Pool,
-Multidb strives to be:
+Multidb aims to be:
* Implemented using a minimal amount of
monkeypatching magic. The only part of ActiveRecord that is overriden is
@@ -32,12 +32,12 @@ application are required.
* Orthogonal. Unlike Octopus, for example, connections follow context:
- Multidb.use(:master) do
- @post = Post.find(1)
- Multidb.use(:slave) do
- @post.authors # This will use the slave
+ Multidb.use(:master) do
+ @post = Post.find(1)
+ Multidb.use(:slave) do
+ @post.authors # This will use the slave
+ end
end
- end
* Low-overhead. Since `connection` is called on every single
database operation, it needs to be fast. Which it is: Multidb's implementation of

0 comments on commit e6369c4

Please sign in to comment.