README.rdoc in db-charmer-1.6.3 vs README.rdoc in db-charmer-1.6.4
- old
+ new
@@ -125,13 +125,13 @@
def self.down
drop_table :test_table
end
end
-By default in development and test environments you could skip this <tt>:second_db</tt>
-connection from your database.yml files and rails would create the tables in your single database,
-but in production you'd specify it and get the table created on a separate server and/or in a
-separate database.
+By default in all environments <tt>on_db</tt> and <tt>db_magic</tt> statments would fail if
+specified connection does not exist in database.yml. It is possible to make +DbCharmer+
+ignore such situations in non-production environments so that rails would create the tables
+in your single database (especially useful in test databases).
This behaviour is controlled by the <tt>DbCharmer.connections_should_exist</tt>
configuration attribute which could be set from a rails initializer.