Browse files

Update documentation to reflect that host, port, and database options…

… for redis connections are deprecated in favor of using the connection option with a URI to specify the redis DB.
  • Loading branch information...
1 parent e94af9c commit 865676dc676896cba007b5769507d380e4f4e4c9 @KeeperPat KeeperPat committed Sep 26, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 doc/configuring.textile
View
3 doc/configuring.textile
@@ -10,6 +10,7 @@ Database connection information is loaded from @config/vanity.yml@, based on the
<pre>
development:
adapter: redis
+ connection: redis://localhost:6379/0
production:
adapter: mongodb
database: analytics
@@ -19,7 +20,7 @@ If there's no configuration file and the application does not create a connectio
The available database adapters are:
-* +redis+ -- This adapter is used by default. Available options are host, port, database (defaults to 0) and password.
+* +redis+ -- This adapter is used by default. Available options are connection and password. host, port, database (defaults to 0) options are available, but deprecated.
* +mongodb+ -- Available options are host, port, database (defaults to "vanity"), username and password.
* +active_record+ -- Uses existing ActiveRecord configuration, by you can over-ride by supplying different options. To pick different underlying adapter, set +active_record_adapter+.

0 comments on commit 865676d

Please sign in to comment.