README.rdoc in ruote-dm-2.1.11 vs README.rdoc in ruote-dm-2.2.0
- old
+ new
@@ -17,15 +17,16 @@
#DataMapper.setup(:default, 'sqlite3:ruote_test.db')
DataMapper.setup(:default, 'postgres://localhost/ruote_test')
engine = Ruote::Engine.new(
Ruote::Worker.new(
- Ruote::Dm::DmStorage.new(:default)))
+ Ruote::Dm::Storage.new(:default)))
# ...
To create the tables in the database :
+ require 'dm-migrations'
Ruote::Dm::Document.auto_migrate!
Tested with dm 1.0.2, with the postgresql and the msyql adapters.