README.rdoc in secondbase-0.1.0 vs README.rdoc in secondbase-0.2.0
- old
+ new
@@ -27,10 +27,33 @@
Run `bundle install`. You thought it would be harder?
== Usage
=== Database
-- setting up database.yml
+Configure your database.yml to define your secondbase:
+
+ # Your normal rails definitions...
+ development:
+ adapter: mysql #postgres, oracle, etc
+ encoding: utf8
+ database: development
+
+ test:
+ adapter: mysql #postgres, oracle, etc
+ encoding: utf8
+ database: test
+
+ # Your secondbase database configurations...
+ secondbase:
+ development:
+ adapter: mysql
+ encoding: utf8
+ database: secondbase_development
+
+ test:
+ adapter: mysql
+ encoding: utf8
+ database: secondbase_test
=== Migrations
SecondBase comes with a generator to assist in managing your migrations